Skip to content

Commit 8d4b8b6

Browse files
borisdevoslkdvos
andauthored
Apply suggestion for leftone/rightone docstring
Co-authored-by: Lukas Devos <[email protected]>
1 parent 3dd9e24 commit 8d4b8b6

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/sectors.jl

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,18 @@ Base.one(a::Sector) = one(typeof(a))
9494

9595
"""
9696
leftone(a::Sector) -> Sector
97-
rightone(a::Sector) -> Sector
9897
99-
Return the left or right unit element within this type of sector.
98+
Return the left unit element within this type of sector.
99+
See also [`rightone`](@ref) and [`Base.one`](@ref).
100100
"""
101101
leftone(a::Sector) = one(a)
102+
103+
"""
104+
rightone(a::Sector) -> Sector
105+
106+
Return the right unit element within this type of sector.
107+
See also [`leftone`](@ref) and [`Base.one`](@ref).
108+
"""
102109
rightone(a::Sector) = one(a)
103110

104111
"""

0 commit comments

Comments
 (0)