Skip to content

Commit 8559e19

Browse files
committed
Do not deprecate PrefixIter because that may lead to compilation errors in downstream crates
This is unwanted in patch releases
1 parent b6b9ead commit 8559e19

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
### Misc Changes
2626

27-
- [#893]: Rename `PrefixIter` to `NamespaceBindingsIter`, `PrefixIter` is deprecated.
27+
- [#893]: Rename `PrefixIter` to `NamespaceBindingsIter`.
2828

2929
[#893]: https://github.com/tafia/quick-xml/pull/893
3030

src/name.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,6 @@ impl<'a> Iterator for NamespaceBindingsIter<'a> {
10851085
impl<'a> FusedIterator for NamespaceBindingsIter<'a> {}
10861086

10871087
/// The previous name for [`NamespaceBindingsIter`].
1088-
#[deprecated = "Use NamespaceBindingsIter instead"]
10891088
pub type PrefixIter<'a> = NamespaceBindingsIter<'a>;
10901089

10911090
/// Iterator on the declared namespace bindings on specified level. Returns pairs of the _(prefix, namespace)_.

0 commit comments

Comments
 (0)