diff --git a/courses/rust/projects/project-1/src/kv.rs b/courses/rust/projects/project-1/src/kv.rs index 845173e0f..a87cd0ee8 100644 --- a/courses/rust/projects/project-1/src/kv.rs +++ b/courses/rust/projects/project-1/src/kv.rs @@ -37,7 +37,7 @@ impl KvStore { /// /// Returns `None` if the given key does not exist. pub fn get(&self, key: String) -> Option { - self.map.get(&key).cloned() + self.map.get(&key).cloned(); } /// Remove a given key.