mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 20:27:57 +00:00
Fix needless_pass_by_value lint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user