mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-10 22:51:01 +00:00
Resolve redundant_pattern_matching lint
This commit is contained in:
@@ -2472,7 +2472,7 @@ mod content {
|
||||
where
|
||||
M: MapAccess<'de>,
|
||||
{
|
||||
while let Some(_) = try!(access.next_entry::<IgnoredAny, IgnoredAny>()) {}
|
||||
while try!(access.next_entry::<IgnoredAny, IgnoredAny>()).is_some() {}
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user