Use spaces around =-sign like Rust does

This commit is contained in:
David Tolnay
2017-04-06 14:22:03 -07:00
parent 5415abf80b
commit dd62801b22
4 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -1371,8 +1371,8 @@ fn field_i(i: usize) -> Ident {
Ident::new(format!("__field{}", i))
}
/// This function wraps the expression in `#[serde(deserialize_with="...")]` in
/// a trait to prevent it from accessing the internal `Deserialize` state.
/// This function wraps the expression in `#[serde(deserialize_with = "...")]`
/// in a trait to prevent it from accessing the internal `Deserialize` state.
fn wrap_deserialize_with(ident: &syn::Ident,
params: &Parameters,
field_ty: &syn::Ty,