diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index c024ef7c17db..7be5f97340e6 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -3028,7 +3028,7 @@ impl 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)]