mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
update comment
This commit is contained in:
parent
31087f7936
commit
4f9714e5bb
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ impl Ban {
|
|||
self.index.len()
|
||||
}
|
||||
|
||||
/// * returns removed `Item` details
|
||||
pub fn update(&mut self, time: DateTime<Local>) -> Vec<Item> {
|
||||
let mut b = Vec::with_capacity(self.index.len());
|
||||
self.index.retain(|i, &mut expires| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue