hashset_delay.rs

This commit is contained in:
Helen 2025-02-12 12:57:08 +03:00
parent 608195f536
commit 14226dbddc
No known key found for this signature in database
GPG Key ID: 08AC644C62F9DB88

View File

@ -61,7 +61,7 @@ where
self.insert_at(key, self.default_entry_timeout);
}
/// Inserts an entry that will expire at a given instant. If the entry already exists, the
/// Inserts an entry that will expire at a given duration. If the entry already exists, the
/// timeout is updated.
pub fn insert_at(&mut self, key: K, entry_duration: Duration) {
if self.contains(&key) {