File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ impl From<&LexFlags> for Header<Location> {
171171}
172172
173173/// LexFlags with flags set to default values.
174+ #[ doc( hidden) ]
174175pub const DEFAULT_LEX_FLAGS : LexFlags = LexFlags {
175176 allow_wholeline_comments : Some ( false ) ,
176177 dot_matches_new_line : Some ( true ) ,
@@ -186,6 +187,7 @@ pub const DEFAULT_LEX_FLAGS: LexFlags = LexFlags {
186187 nest_limit : None ,
187188} ;
188189
190+ #[ doc( hidden) ]
189191/// LexFlags with all of the values `None`.
190192pub const UNSPECIFIED_LEX_FLAGS : LexFlags = LexFlags {
191193 allow_wholeline_comments : None ,
@@ -672,7 +674,7 @@ where
672674
673675 /// Returns the final `LexFlags` used for this lex source
674676 /// after all forced and default flags have been resolved.
675- pub fn lex_flags ( & self ) -> Option < & LexFlags > {
677+ pub ( crate ) fn lex_flags ( & self ) -> Option < & LexFlags > {
676678 Some ( & self . lex_flags )
677679 }
678680}
You can’t perform that action at this time.
0 commit comments