Skip to content

Commit

Permalink
fix fmt lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kazeno committed Aug 23, 2024
1 parent 652c1d8 commit 16653eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/de/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl<'i, 'd> QNameDeserializer<'i, 'd> {
// Namespace bindings (xmlns:xxx) map to `@xmlns:xxx` instead of `@xxx`
// https://github.com/tafia/quick-xml/issues/591
// Or any namespace prefix (e.g. r:id) map to `@r:id` instead of `@id`
if name.as_namespace_binding().is_some() || name.prefix().is_some() {
if name.as_namespace_binding().is_some() || name.prefix().is_some() {
decoder.decode_into(name.into_inner(), key_buf)?;
} else {
let local = name.local_name();
Expand Down

0 comments on commit 16653eb

Please sign in to comment.