Skip to content

Commit bb70a51

Browse files
souma4eliascarv
andauthored
Updated docstrings to match style
Co-authored-by: Elias Carvalho <[email protected]>
1 parent 00e54e9 commit bb70a51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/binarytree.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ maxnode(node::Nothing) = nothing
189189
"""
190190
BinaryTrees.prevnext(tree, k)
191191
192-
Returns a `tuple` of each `node` immediately before
193-
and after the `node` with `key`, `k` within `tree`.
192+
Returns a tuple of each node immediately before
193+
and after the `tree` node with key `k`.
194194
195-
If an adjacent `node` does not exist, `nothing` is returned in its place.
195+
If an adjacent node does not exist, `nothing` is returned in its place.
196196
If `k` is `nothing`, returns `(nothing, nothing)`.
197197
"""
198198
function prevnext(tree::BinaryTree, k)

0 commit comments

Comments
 (0)