From 1b888881516c7553126e0c7fc2539d14b129e29e Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 2 Feb 2022 07:57:50 -0600 Subject: f --- azalea-brigadier/src/context/command_context_builder.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'azalea-brigadier/src/context/command_context_builder.rs') diff --git a/azalea-brigadier/src/context/command_context_builder.rs b/azalea-brigadier/src/context/command_context_builder.rs index 969f9cfd..ba25849c 100644 --- a/azalea-brigadier/src/context/command_context_builder.rs +++ b/azalea-brigadier/src/context/command_context_builder.rs @@ -45,14 +45,11 @@ pub struct CommandContextBuilder<'a, S> { // this.range = StringRange.at(start); // } -impl CommandContextBuilder<'_, S> -where - , -{ +impl CommandContextBuilder<'_, S> { pub fn new( dispatcher: CommandDispatcher, source: S, - root_node: dyn CommandNodeTrait, + root_node: &dyn CommandNodeTrait, start: usize, ) -> Self { Self { -- cgit v1.2.3