Fix needless_pass_by_value lint
This commit is contained in:
parent
f944b453c4
commit
fe9ea3b4b4
@ -11,7 +11,7 @@ pub fn serialize_tagged_newtype<S, T>(serializer: S,
|
||||
variant_ident: &'static str,
|
||||
tag: &'static str,
|
||||
variant_name: &'static str,
|
||||
value: T)
|
||||
value: &T)
|
||||
-> Result<S::Ok, S::Error>
|
||||
where S: Serializer,
|
||||
T: Serialize
|
||||
|
Loading…
x
Reference in New Issue
Block a user