about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/rustdoc/src/read-documentation/search.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustdoc/src/read-documentation/search.md b/src/doc/rustdoc/src/read-documentation/search.md
index 5f5c52dd09e..d794dbbf250 100644
--- a/src/doc/rustdoc/src/read-documentation/search.md
+++ b/src/doc/rustdoc/src/read-documentation/search.md
@@ -71,6 +71,7 @@ the standard library and functions that are included in the results list:
 | [`option -> default`][] | `Option::unwrap_or_default` |
 | [`stdout, [u8]`][stdoutu8] | `Stdout::write` |
 | [`any -> !`][] | `panic::panic_any` |
+| [`vec::intoiter<T> -> [T]`][iterasslice] | `IntoIter::as_slice` |
 
 [`usize -> vec`]: ../../std/vec/struct.Vec.html?search=usize%20-%3E%20vec&filter-crate=std
 [`vec, vec -> bool`]: ../../std/vec/struct.Vec.html?search=vec,%20vec%20-%3E%20bool&filter-crate=std
@@ -79,10 +80,11 @@ the standard library and functions that are included in the results list:
 [`option -> default`]: ../../std/vec/struct.Vec.html?search=option%20-%3E%20default&filter-crate=std
 [`any -> !`]: ../../std/vec/struct.Vec.html?search=any%20-%3E%20!&filter-crate=std
 [stdoutu8]: ../../std/vec/struct.Vec.html?search=stdout%2C%20[u8]&filter-crate=std
+[iterasslice]: ../../std/vec/struct.Vec.html?search=vec%3A%3Aintoiter<T>%20->%20[T]&filter-crate=std
 
 ### How type-based search works
 
-In a complex type-based search, Rustdoc always treats every item as literal.
+In a complex type-based search, Rustdoc always treats every item's name as literal.
 If a name is used and nothing in the docs matches the individual item, such as
 a typo-ed [`uize -> vec`][] search, the item `uize` is treated as a generic
 type parameter (resulting in `vec::from` and other generic vec constructors).
@@ -155,8 +157,6 @@ Most of these limitations should be addressed in future version of Rustdoc.
     into the search field. Similarly, `Option<(T, U)>` can be matched with
     `Option<T, U>`, but `(` will give a parse error.
 
-  * Path searches, like `hash_map::Entry`, don't work in type-based search.
-
   * Searching for lifetimes is not supported.
 
   * It's impossible to search for closures based on their parameters or