mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 19:26:17 +00:00
Updates to match new operator method lookup
This commit is contained in:
1 parent
4345633a92
commit
ba67a8b3b2
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -2237,7 +2237,7 @@ impl<Iter: Iterator<u8>> de::Deserializer<ParserError> for Parser<Iter> {
|
||||
None => { return Ok(None); }
|
||||
};
|
||||
|
||||
Ok(Some(fields.iter().position(|field| **field == s.as_slice())))
|
||||
Ok(Some(fields.iter().position(|field| *field == s.as_slice())))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user