Skip to content

Commit

Permalink
Remove brackets in drain filter docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire authored Aug 29, 2020
1 parent d504d55 commit d727442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3028,7 +3028,7 @@ impl<T> Drain<'_, T> {

/// A draining iterator with filter predicate for `Vec`.
///
/// This struct is created by [`Vec::drain_filter()`].
/// This struct is created by [`Vec::drain_filter`].
/// See its documentation for more.
#[unstable(feature = "drain_filter", reason = "recently added", issue = "43244")]
#[derive(Debug)]
Expand Down

0 comments on commit d727442

Please sign in to comment.