diff options
| author | The 8472 <git@infinite-source.de> | 2023-06-15 21:14:40 +0200 |
|---|---|---|
| committer | The 8472 <git@infinite-source.de> | 2023-06-15 21:14:40 +0200 |
| commit | 64ee0f74eb4d724e87601fea4bd6b18377289fa2 (patch) | |
| tree | 827964df2ac7a3b7779389fdb72349243b733533 /library/alloc/src/vec/mod.rs | |
| parent | f9097f87c9c094f80826fb60a1a624b5f9f1ed82 (diff) | |
| download | rust-64ee0f74eb4d724e87601fea4bd6b18377289fa2.tar.gz rust-64ee0f74eb4d724e87601fea4bd6b18377289fa2.zip | |
remove unused field
since DrainFilter no longer continues draining when it's dropped the panic tracking is no longer needed.
Diffstat (limited to 'library/alloc/src/vec/mod.rs')
| -rw-r--r-- | library/alloc/src/vec/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index 289bbc7d2ef..259c659c7eb 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -2948,7 +2948,7 @@ impl<T, A: Allocator> Vec<T, A> { self.set_len(0); } - ExtractIf { vec: self, idx: 0, del: 0, old_len, pred: filter, panic_flag: false } + ExtractIf { vec: self, idx: 0, del: 0, old_len, pred: filter } } } |
