From 0c87a9ec25a45efc9b6b5ab7883cd19ded483909 Mon Sep 17 00:00:00 2001
From: Martin Fischer <martin@push-f.com>
Date: Wed, 16 Aug 2023 15:58:48 +0200
Subject: feat: impl IntoIterator for AttributeMap

Making this change made me realize that adding an
`impl IntoIterator for T` can be a breaking change if
`impl IntoIterator for &T` already exists.

See also the cargo-semver-checks issue[1] I filed about that.

[1]: https://github.com/obi1kenobi/cargo-semver-checks/issues/518
---
 integration_tests/tests/test_html5lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'integration_tests')

diff --git a/integration_tests/tests/test_html5lib.rs b/integration_tests/tests/test_html5lib.rs
index a624c30..a0e934f 100644
--- a/integration_tests/tests/test_html5lib.rs
+++ b/integration_tests/tests/test_html5lib.rs
@@ -129,7 +129,7 @@ fn run_test_inner<R: Reader>(
                 attributes: tag
                     .attributes
                     .into_iter()
-                    .map(|attr| (attr.name().to_owned(), attr.value().to_owned()))
+                    .map(|attr| (attr.name, attr.value))
                     .collect(),
                 self_closing: tag.self_closing,
             }),
-- 
cgit v1.2.3