Skip to content

Commit

Permalink
Omit return keyword in remove_entry
Browse files Browse the repository at this point in the history
Co-authored-by: David Tolnay <[email protected]>
  • Loading branch information
osiewicz and dtolnay authored Sep 11, 2023
1 parent 89a2741 commit 83bdc5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Map<String, Value> {
String: Borrow<Q>,
Q: ?Sized + Ord + Eq + Hash,
{
return self.map.remove_entry(key);
self.map.remove_entry(key)
}

/// Moves all elements from other into self, leaving other empty.
Expand Down

0 comments on commit 83bdc5f

Please sign in to comment.