Skip to content

Commit

Permalink
Type as a type name should be capitalized (#54256)
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceXwq authored Apr 26, 2024
1 parent 50833c8 commit b902a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/number.jl
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ zero(::Type{Union{}}, slurp...) = Union{}(0)

"""
one(x)
one(T::type)
one(T::Type)
Return a multiplicative identity for `x`: a value such that
`one(x)*x == x*one(x) == x`. If the multiplicative identity can
Expand Down

0 comments on commit b902a38

Please sign in to comment.