From 4f6f104ddbf6895c78c3eaf3a33a51ceceac6ce4 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 23 May 2024 02:12:34 +0000 Subject: resolve clippy warning --- azalea-brigadier/src/command_dispatcher.rs | 1 + 1 file changed, 1 insertion(+) 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 CommandDispatcher { context_so_far: CommandContextBuilder<'a, S>, ) -> Result, 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::>, CommandSyntaxException>::new(); let mut potentials: Vec> = vec![]; let cursor = original_reader.cursor(); -- cgit v1.2.3