mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
resolve clippy warning
This commit is contained in:
parent
f9c28ca5fa
commit
4f6f104ddb
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ impl<S> CommandDispatcher<S> {
|
|||
context_so_far: CommandContextBuilder<'a, S>,
|
||||
) -> Result<ParseResults<'a, S>, CommandSyntaxException> {
|
||||
let source = context_so_far.source.clone();
|
||||
#[allow(clippy::mutable_key_type)] // this is fine because we don't mutate the key
|
||||
let mut errors = HashMap::<Rc<CommandNode<S>>, CommandSyntaxException>::new();
|
||||
let mut potentials: Vec<ParseResults<S>> = vec![];
|
||||
let cursor = original_reader.cursor();
|
||||
|
|
Loading…
Add table
Reference in a new issue