File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -161,13 +161,13 @@ pub trait Pattern<'a>: Sized {
161
161
pub enum SearchStep {
162
162
/// Expresses that a match of the pattern has been found at
163
163
/// `haystack[a..b]`.
164
- Match ( usize , usize ) ,
164
+ Match ( # [ allow ( missing_docs ) ] usize , # [ allow ( missing_docs ) ] usize ) ,
165
165
/// Expresses that `haystack[a..b]` has been rejected as a possible match
166
166
/// of the pattern.
167
167
///
168
168
/// Note that there might be more than one `Reject` between two `Match`es,
169
169
/// there is no requirement for them to be combined into one.
170
- Reject ( usize , usize ) ,
170
+ Reject ( # [ allow ( missing_docs ) ] usize , # [ allow ( missing_docs ) ] usize ) ,
171
171
/// Expresses that every byte of the haystack has been visited, ending
172
172
/// the iteration.
173
173
Done ,
Original file line number Diff line number Diff line change @@ -147,8 +147,12 @@ pub enum Prefix<'a> {
147
147
/// server's hostname and a share name.
148
148
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
149
149
VerbatimUNC (
150
- #[ stable( feature = "rust1" , since = "1.0.0" ) ] & ' a OsStr ,
151
- #[ stable( feature = "rust1" , since = "1.0.0" ) ] & ' a OsStr ,
150
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
151
+ #[ allow( missing_docs) ]
152
+ & ' a OsStr ,
153
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
154
+ #[ allow( missing_docs) ]
155
+ & ' a OsStr ,
152
156
) ,
153
157
154
158
/// Verbatim disk prefix, e.g., `\\?\C:`.
@@ -171,8 +175,12 @@ pub enum Prefix<'a> {
171
175
/// UNC prefixes consist of the server's hostname and a share name.
172
176
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
173
177
UNC (
174
- #[ stable( feature = "rust1" , since = "1.0.0" ) ] & ' a OsStr ,
175
- #[ stable( feature = "rust1" , since = "1.0.0" ) ] & ' a OsStr ,
178
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
179
+ #[ allow( missing_docs) ]
180
+ & ' a OsStr ,
181
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
182
+ #[ allow( missing_docs) ]
183
+ & ' a OsStr ,
176
184
) ,
177
185
178
186
/// Prefix `C:` for the given disk drive.
You can’t perform that action at this time.
0 commit comments