@@ -71,6 +71,7 @@ the standard library and functions that are included in the results list:
71
71
| [ ` option -> default ` ] [ ] | ` Option::unwrap_or_default ` |
72
72
| [ ` stdout, [u8] ` ] [ stdoutu8 ] | ` Stdout::write ` |
73
73
| [ ` any -> ! ` ] [ ] | ` panic::panic_any ` |
74
+ | [ ` vec::intoiter<T> -> [T] ` ] [ iterasslice ] | ` IntoIter::as_slice ` |
74
75
75
76
[ `usize -> vec` ] : ../../std/vec/struct.Vec.html?search=usize%20-%3E%20vec&filter-crate=std
76
77
[ `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:
79
80
[ `option -> default` ] : ../../std/vec/struct.Vec.html?search=option%20-%3E%20default&filter-crate=std
80
81
[ `any -> !` ] : ../../std/vec/struct.Vec.html?search=any%20-%3E%20!&filter-crate=std
81
82
[ stdoutu8 ] : ../../std/vec/struct.Vec.html?search=stdout%2C%20[u8]&filter-crate=std
83
+ [ iterasslice ] : ../../std/vec/struct.Vec.html?search=vec%3A%3Aintoiter<T>%20->%20[T]&filter-crate=std
82
84
83
85
### How type-based search works
84
86
85
- In a complex type-based search, Rustdoc always treats every item as literal.
87
+ In a complex type-based search, Rustdoc always treats every item's name as literal.
86
88
If a name is used and nothing in the docs matches the individual item, such as
87
89
a typo-ed [ ` uize -> vec ` ] [ ] search, the item ` uize ` is treated as a generic
88
90
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.
155
157
into the search field. Similarly, ` Option<(T, U)> ` can be matched with
156
158
` Option<T, U> ` , but ` ( ` will give a parse error.
157
159
158
- * Path searches, like ` hash_map::Entry ` , don't work in type-based search.
159
-
160
160
* Searching for lifetimes is not supported.
161
161
162
162
* It's impossible to search for closures based on their parameters or
0 commit comments