mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 05:11:09 +00:00
chore(els): remove AnalysisResultCache
This commit is contained in:
parent
d92e3f5425
commit
94b5fc27e9
13 changed files with 198 additions and 282 deletions
|
@ -255,6 +255,7 @@ pub trait Stream<T>: Sized {
|
|||
self.ref_mut_payload().split_off(at)
|
||||
}
|
||||
|
||||
/// Remove all elements that don't satisfy the predicate.
|
||||
fn retain(&mut self, f: impl FnMut(&T) -> bool) {
|
||||
self.ref_mut_payload().retain(f);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue