Resolve redundant_pattern_matching lint

This commit is contained in:
David Tolnay 2020-04-19 17:31:15 -07:00
parent b6def5300a
commit 0bab6be124
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -2472,7 +2472,7 @@ mod content {
where where
M: MapAccess<'de>, M: MapAccess<'de>,
{ {
while let Some(_) = try!(access.next_entry::<IgnoredAny, IgnoredAny>()) {} while try!(access.next_entry::<IgnoredAny, IgnoredAny>()).is_some() {}
Ok(()) Ok(())
} }
} }