Skip to content

Commit 9bceed8

Browse files
authored
fix up docstring of mod (#56000)
1 parent ab6df86 commit 9bceed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/range.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ end
14851485
"""
14861486
mod(x::Integer, r::AbstractUnitRange)
14871487
1488-
Find `y` in the range `r` such that ``xy (\\mod n)``, where `n = length(r)`,
1488+
Find `y` in the range `r` such that `x``y` (mod `n`), where `n = length(r)`,
14891489
i.e. `y = mod(x - first(r), n) + first(r)`.
14901490
14911491
See also [`mod1`](@ref).

0 commit comments

Comments
 (0)