We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5389b4 + fd482d0 commit 9ba39ebCopy full SHA for 9ba39eb
src/ast.rs
@@ -211,7 +211,7 @@ pub struct MonotonicArgs {
211
pub binds: Ident,
212
213
/// The priority of this monotonic
214
- pub priority: u8,
+ pub priority: Option<u8>,
215
216
/// If this is the default monotonic
217
pub default: bool,
src/parse.rs
@@ -470,7 +470,6 @@ fn monotonic_args(tokens: TokenStream2) -> parse::Result<MonotonicArgs> {
470
"`binds = ...` is missing",
471
));
472
};
473
- let priority = priority.unwrap_or(1);
474
let default = default.unwrap_or(false);
475
476
Ok(MonotonicArgs {
0 commit comments