Skip to content

Commit

Permalink
docs: make mod an operator (#55988)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo-Gul authored Oct 4, 2024
1 parent 1c5cd96 commit 675da9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/range.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@ end
"""
mod(x::Integer, r::AbstractUnitRange)
Find `y` in the range `r` such that ``x ≡ y (mod n)``, where `n = length(r)`,
Find `y` in the range `r` such that ``x ≡ y (\\mod n)``, where `n = length(r)`,
i.e. `y = mod(x - first(r), n) + first(r)`.
See also [`mod1`](@ref).
Expand Down

0 comments on commit 675da9d

Please sign in to comment.