aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/builder/argument_builder.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-10-12 23:01:54 +0300
committermat <git@matdoes.dev>2025-10-12 23:01:54 +0300
commitee2575794e91b9457a74a95daf1dcc707058cd58 (patch)
treedf725850ef18ded5ce3f6552e17095d0f704ae84 /azalea-brigadier/src/builder/argument_builder.rs
parent1a1402954b07cd77615d0afc026c73b008787f51 (diff)
downloadazalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea-brigadier/src/builder/argument_builder.rs')
-rw-r--r--azalea-brigadier/src/builder/argument_builder.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/azalea-brigadier/src/builder/argument_builder.rs b/azalea-brigadier/src/builder/argument_builder.rs
index 945f7fcb..27320eba 100644
--- a/azalea-brigadier/src/builder/argument_builder.rs
+++ b/azalea-brigadier/src/builder/argument_builder.rs
@@ -77,8 +77,9 @@ impl<S> ArgumentBuilder<S> {
self
}
- /// Set the command to be executed when this node is reached. If this is not
- /// present on a node, it is not a valid command.
+ /// Set the command to be executed when this node is reached.
+ ///
+ /// If this is not present on a node, it is not a valid command.
///
/// ```
/// # use azalea_brigadier::prelude::*;
@@ -105,8 +106,9 @@ impl<S> ArgumentBuilder<S> {
self
}
- /// Set the requirement for this node to be considered. If this is not
- /// present on a node, it is considered to always pass.
+ /// Set the requirement for this node to be considered.
+ ///
+ /// If this is not present on a node, it is considered to always pass.
///
/// ```
/// # use azalea_brigadier::prelude::*;