Skip to content

Commit 68d3b45

Browse files
author
Dean Karn
committed
fix function signature
1 parent 29a58a3 commit 68d3b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ impl Map<String, Value> {
240240
/// In other words, remove all pairs `(k, v)` such that `f(&k, &mut v)` returns `false`.
241241
/// The elements are visited in ascending key order.
242242
#[inline]
243-
pub fn retain<F, K>(&mut self, f: F)
243+
pub fn retain<F>(&mut self, f: F)
244244
where
245245
F: FnMut(&String, &mut Value) -> bool,
246246
{

0 commit comments

Comments
 (0)