From d727442f2d79e746ce0dad2da519bed91ff4ccda Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sat, 29 Aug 2020 18:23:29 +0800 Subject: [PATCH] Remove brackets in drain filter docs --- library/alloc/src/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index c024ef7c17d..7be5f97340e 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -3028,7 +3028,7 @@ unsafe fn move_tail(&mut self, additional: usize) { /// 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)]