chore: fix some typos in comments (#586)

Signed-off-by: tgolang <seekseat@aliyun.com>
This commit is contained in:
tgolang
2024-04-30 16:42:53 +08:00
committed by GitHub
parent 7bf2925a23
commit e2a17cb945
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ impl<K> Counter<K>
where
K: Sized + std::hash::Hash + Eq,
{
/// Either adds or removes a single occurence of a given `key`.
/// Either adds or removes a single occurrence of a given `key`.
pub fn modify<'a, Q>(&mut self, key: Option<&'a Q>, op: CounterValue)
where
Q: ?Sized + std::hash::Hash + Eq,