diff options
Diffstat (limited to 'integration_tests/tests')
-rw-r--r-- | integration_tests/tests/test_html5lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, }), |