diff options
| author | mat <github@matdoes.dev> | 2022-02-02 07:57:50 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-02-02 07:57:50 -0600 |
| commit | 1b888881516c7553126e0c7fc2539d14b129e29e (patch) | |
| tree | 0750e8d4d9ee9babc825d611d7e83ce23c2d076a /azalea-brigadier/src/context/command_context_builder.rs | |
| parent | d9e52f8d965473517ddf6f11f9ac3be9aa14e14d (diff) | |
| download | azalea-drasl-1b888881516c7553126e0c7fc2539d14b129e29e.tar.xz | |
f
Diffstat (limited to 'azalea-brigadier/src/context/command_context_builder.rs')
| -rw-r--r-- | azalea-brigadier/src/context/command_context_builder.rs | 7 |
1 files changed, 2 insertions, 5 deletions
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<S> CommandContextBuilder<'_, S> -where - , -{ +impl<S> CommandContextBuilder<'_, S> { pub fn new( dispatcher: CommandDispatcher<S>, source: S, - root_node: dyn CommandNodeTrait<S>, + root_node: &dyn CommandNodeTrait<S>, start: usize, ) -> Self { Self { |
