html5ever::serialize::TraversalScope is no longer Copy since 0.20.
Cloning should be cheap because this only increments atomic refcounts of Atoms used in markup5ever::interface::QualName if TraversalScope::ChildrenOnly variant is used.
UPD: I made a mistake in the version of html5ever which made TraversalScope non-Copy. I can't fix that in the commit message though, so sorry to anyone who reads it! :(
html5ever::serialize::TraversalScope
is no longerCopy
since 0.20.Cloning should be cheap because this only increments atomic refcounts of
Atom
s used inmarkup5ever::interface::QualName
ifTraversalScope::ChildrenOnly
variant is used.UPD: I made a mistake in the version of
html5ever
which madeTraversalScope
non-Copy
. I can't fix that in the commit message though, so sorry to anyone who reads it! :(