chore: fix some typos in comments (#586)

Signed-off-by: tgolang <seekseat@aliyun.com>
This commit is contained in:
tgolang authored and GitHub committed 2024-04-30 09:42:53 +01:00
1 parent 7bf2925a23
commit e2a17cb945
3 files changed
+5 -5

No files matched your search

+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,