diff options
| author | Ivan Tham <pickfire@riseup.net> | 2020-08-29 22:39:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-29 22:39:34 +0800 |
| commit | be8b5eb529adbb0e62dcc8872918e9c09aba56a4 (patch) | |
| tree | b8f5c8417a3796e17521d415160a48c4b762f10c | |
| parent | d727442f2d79e746ce0dad2da519bed91ff4ccda (diff) | |
| download | rust-be8b5eb529adbb0e62dcc8872918e9c09aba56a4.tar.gz rust-be8b5eb529adbb0e62dcc8872918e9c09aba56a4.zip | |
Reuse description from drain_filter
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
| -rw-r--r-- | library/alloc/src/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index 7be5f97340e..12441ccd41f 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -3026,7 +3026,7 @@ impl<T> Drain<'_, T> { } } -/// A draining iterator with filter predicate for `Vec`. +/// An iterator which uses a closure to determine if an element should be removed. /// /// This struct is created by [`Vec::drain_filter`]. /// See its documentation for more. |
