Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 63c9ef6

Browse files
authored
Merge pull request #169 from bluss/pattern-without
Fix patterns_in_fns_without_body warning
2 parents a9fede9 + 9628ae7 commit 63c9ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ pub trait Decoder {
620620
/// and may (but are not required to) return an error if these are
621621
/// inconsistent.
622622
fn read_enum_struct_variant_field<T, F>(&mut self,
623-
&f_name: &str,
623+
f_name: &str,
624624
f_idx: usize,
625625
f: F)
626626
-> Result<T, Self::Error>

0 commit comments

Comments
 (0)