Remove useless discard of function argument that is used

This commit is contained in:
David Tolnay
2023-08-23 16:05:07 -07:00
parent 3c7dd6fc1e
commit fc04d1219a
-1
View File
@@ -1555,7 +1555,6 @@ pub trait Visitor<'de>: Sized {
where
E: Error,
{
let _ = v;
Err(Error::invalid_type(Unexpected::Bytes(v), &self))
}