aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/context/command_context_builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-brigadier/src/context/command_context_builder.rs')
-rw-r--r--azalea-brigadier/src/context/command_context_builder.rs7
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 {