Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed Jul 19, 2018
1 parent b903553 commit 067e66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XMLDict.jl
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ end
# https://github.com/JuliaCollections/DataStructures.jl/issues/400 is fixed.
# Calling filter! with copy is equivalent but inefficient.
attrs(node::AbstractDict) = filter!(pair->isa(first(pair), Symbol), copy(node))
nodes(node::AbstractDict) = filter!(pair->!isa(first(pair), Symbol), copy(n
nodes(node::AbstractDict) = filter!(pair->!isa(first(pair), Symbol), copy(node))

function attr_xml(node::AbstractDict)
join([" $n=\"$v\"" for (n,v) in attrs(node)])
Expand Down

0 comments on commit 067e66e

Please sign in to comment.