Skip to content

Commit 713a9eb

Browse files
authored
Merge pull request JuliaCollections#109 from JuliaCollections/oscardssmith-fix-prevsibling-typo
fix `prevsibling` typo
2 parents 5276e4a + 65f2ee7 commit 713a9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cursors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ end
256256

257257
function prevsibling(csr::SiblingCursor)
258258
p = prevsibling(nodevalue(csr))
259-
isnothing(n) ? nothing : SiblingCursor(parent(csr), p)
259+
isnothing(p) ? nothing : SiblingCursor(parent(csr), p)
260260
end
261261

262262

0 commit comments

Comments
 (0)