Skip to content

Commit

Permalink
Remove unused value from ValueVisitor
Browse files Browse the repository at this point in the history
Fixes clippy lint
  • Loading branch information
RickyDaMa committed May 21, 2024
1 parent 6303c5e commit 98965f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/serde_xml_plist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mod de {

pub(super) struct DictWrapper(pub(super) Dictionary);

struct ValueWrapper(Value);
struct ValueWrapper;

struct ArrayWrapper(Vec<Value>);

Expand Down Expand Up @@ -135,7 +135,7 @@ mod de {
where
D: Deserializer<'de>,
{
deserializer.deserialize_any(ValueVisitor).map(ValueWrapper)
deserializer.deserialize_any(ValueVisitor).map(|_| ValueWrapper)
}
}

Expand Down

0 comments on commit 98965f0

Please sign in to comment.