Skip to content

Commit

Permalink
Remove useless discard of function argument that is used
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 23, 2023
1 parent 3c7dd6f commit fc04d12
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion serde/src/de/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,6 @@ pub trait Visitor<'de>: Sized {
where
E: Error,
{
let _ = v;
Err(Error::invalid_type(Unexpected::Bytes(v), &self))
}

Expand Down

0 comments on commit fc04d12

Please sign in to comment.