We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c12c2e + 242f5e7 commit ad02711Copy full SHA for ad02711
1 file changed
src/parser.rs
@@ -82,7 +82,7 @@ impl ParseError {
82
}
83
84
/// A hex or named flag wasn't found between separators.
85
- pub fn empty_flag() -> Self {
+ pub const fn empty_flag() -> Self {
86
ParseError(ParseErrorKind::EmptyFlag)
87
88
0 commit comments