Skip to content

Commit 507de8b

Browse files
committed
Remove the nonsensical default V=Global from Keys
1 parent 9beb06b commit 507de8b

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
@@ -1428,7 +1428,7 @@ impl<K, V, A: Allocator + Clone> IntoIter<K, V, A> {
14281428
///
14291429
/// [`keys`]: struct.HashMap.html#method.keys
14301430
/// [`HashMap`]: struct.HashMap.html
1431-
pub struct Keys<'a, K, V = Global> {
1431+
pub struct Keys<'a, K, V> {
14321432
inner: Iter<'a, K, V>,
14331433
}
14341434

0 commit comments

Comments
 (0)