diff --git a/sdk/lib/collection/hash_map.dart b/sdk/lib/collection/hash_map.dart index d266d60db163..c5895ac11a82 100644 --- a/sdk/lib/collection/hash_map.dart +++ b/sdk/lib/collection/hash_map.dart @@ -83,7 +83,7 @@ typedef _Hasher = int Function(K object); /// ``` /// To remove an entry with a specific key, use [remove]. /// ```dart continued -/// final removeValue = planets.remove(5); +/// final removeValue = planets.remove(6); /// print(removeValue); // Jupiter /// print(planets); // fx {4: Mars, 3: Earth, 5: Saturn} /// ```