Skip to content

Commit 65f2ee7

Browse files
authored
fix prevsibling typo
1 parent 5276e4a commit 65f2ee7

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)