diff options
| author | mat <git@matdoes.dev> | 2024-05-23 02:12:34 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-05-23 02:12:34 +0000 |
| commit | 4f6f104ddbf6895c78c3eaf3a33a51ceceac6ce4 (patch) | |
| tree | 6d0e83e90f33fe9a0fe1b4f4f9ced26758b71ee0 | |
| parent | f9c28ca5faa5ac9ba78f13e025675d2c56123361 (diff) | |
| download | azalea-drasl-4f6f104ddbf6895c78c3eaf3a33a51ceceac6ce4.tar.xz | |
resolve clippy warning
| -rwxr-xr-x | azalea-brigadier/src/command_dispatcher.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-brigadier/src/command_dispatcher.rs b/azalea-brigadier/src/command_dispatcher.rs index 3b5987fc..2f4d6ebd 100755 --- a/azalea-brigadier/src/command_dispatcher.rs +++ b/azalea-brigadier/src/command_dispatcher.rs @@ -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(); |
