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 {
161161pub enum SearchStep {
162162 /// Expresses that a match of the pattern has been found at
163163 /// `haystack[a..b]`.
164- Match ( usize , usize ) ,
164+ Match ( # [ allow ( missing_docs ) ] usize , # [ allow ( missing_docs ) ] usize ) ,
165165 /// Expresses that `haystack[a..b]` has been rejected as a possible match
166166 /// of the pattern.
167167 ///
168168 /// Note that there might be more than one `Reject` between two `Match`es,
169169 /// 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 ) ,
171171 /// Expresses that every byte of the haystack has been visited, ending
172172 /// the iteration.
173173 Done ,
Original file line number Diff line number Diff line change @@ -147,8 +147,12 @@ pub enum Prefix<'a> {
147147 /// server's hostname and a share name.
148148 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
149149 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 ,
152156 ) ,
153157
154158 /// Verbatim disk prefix, e.g., `\\?\C:`.
@@ -171,8 +175,12 @@ pub enum Prefix<'a> {
171175 /// UNC prefixes consist of the server's hostname and a share name.
172176 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
173177 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 ,
176184 ) ,
177185
178186 /// Prefix `C:` for the given disk drive.
You can’t perform that action at this time.
0 commit comments