Fix Clippy errors in variant serialize_with tests

This commit is contained in:
Michael Smith
2017-08-16 12:04:39 -07:00
parent 9fc180e62f
commit 552971196d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -545,7 +545,7 @@ pub fn deserialize_some_unit_variant<'de, D>(_: D) -> StdResult<(), D::Error>
unimplemented!()
}
pub fn serialize_some_other_variant<S>(_: &String, _: &u8, _: S) -> StdResult<S::Ok, S::Error>
pub fn serialize_some_other_variant<S>(_: &str, _: &u8, _: S) -> StdResult<S::Ok, S::Error>
where S: Serializer,
{
unimplemented!()