aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/command_dispatcher.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-02-03 02:16:24 +0000
committermat <github@matdoes.dev>2022-02-03 02:16:24 +0000
commit4ff67d4917ce333232189e86aee09f2d82451fc6 (patch)
tree07c8688f54084d8ebbade9b13ac22e7d50a91e64 /azalea-brigadier/src/command_dispatcher.rs
parent1b888881516c7553126e0c7fc2539d14b129e29e (diff)
downloadazalea-drasl-4ff67d4917ce333232189e86aee09f2d82451fc6.tar.xz
a
Diffstat (limited to 'azalea-brigadier/src/command_dispatcher.rs')
-rw-r--r--azalea-brigadier/src/command_dispatcher.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-brigadier/src/command_dispatcher.rs b/azalea-brigadier/src/command_dispatcher.rs
index 98288a48..f8ffddff 100644
--- a/azalea-brigadier/src/command_dispatcher.rs
+++ b/azalea-brigadier/src/command_dispatcher.rs
@@ -4,11 +4,11 @@ use std::fmt::Debug;
/// The core command dispatcher, for registering, parsing, and executing commands.
/// The `S` generic is a custom "source" type, such as a user or originator of a command
#[derive(Default, Clone)]
-pub struct CommandDispatcher<'a, S> {
- root: RootCommandNode<'a, S>,
+pub struct CommandDispatcher<S> {
+ root: RootCommandNode<S>,
}
-impl<S> CommandDispatcher<'_, S> {
+impl<S> CommandDispatcher<S> {
/// The string required to separate individual arguments in an input string
///
/// See: [`ARGUMENT_SEPARATOR_CHAR`]