about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-08-29 18:23:29 +0800
committerGitHub <noreply@github.com>2020-08-29 18:23:29 +0800
commitd727442f2d79e746ce0dad2da519bed91ff4ccda (patch)
tree7fe32083df9489863b4d759ed27ad0d590d31812 /library/alloc/src
parentd504d553f101bd36aebed28122d43e9fcae0b60e (diff)
downloadrust-d727442f2d79e746ce0dad2da519bed91ff4ccda.tar.gz
rust-d727442f2d79e746ce0dad2da519bed91ff4ccda.zip
Remove brackets in drain filter docs
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/vec.rs2
1 files changed, 1 insertions, 1 deletions
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 @@ 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)]