Fix trivial numeric cast in visit_u64

This commit is contained in:
David Tolnay
2017-09-09 12:37:00 -07:00
parent c3eced410f
commit 2eed855bff
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1428,7 +1428,7 @@ fn deserialize_identifier(
#variant_indices => _serde::export::Ok(#constructors),
)*
_ => _serde::export::Err(_serde::de::Error::invalid_value(
_serde::de::Unexpected::Unsigned(__value as u64),
_serde::de::Unexpected::Unsigned(__value),
&#fallthrough_msg))
}
}