Skip to content

Commit a79f473

Browse files
committed
Exclude namespace from tag name when comparing against field names
1 parent de61fa1 commit a79f473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/de/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ fn not_in(
789789
start: &BytesStart,
790790
decoder: Decoder,
791791
) -> Result<bool, DeError> {
792-
let tag = decoder.decode(start.name().into_inner())?;
792+
let tag = decoder.decode(start.local_name().into_inner())?;
793793

794794
Ok(fields.iter().all(|&field| field != tag.as_ref()))
795795
}

0 commit comments

Comments
 (0)