We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c12c2e commit 242f5e7Copy full SHA for 242f5e7
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