From ee2575794e91b9457a74a95daf1dcc707058cd58 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 12 Oct 2025 23:01:54 +0300 Subject: upgrade deps and clean up lots of doc comments --- azalea-brigadier/src/builder/argument_builder.rs | 10 ++++++---- azalea-brigadier/src/builder/required_argument_builder.rs | 5 +++-- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'azalea-brigadier/src/builder') 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 ArgumentBuilder { 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 ArgumentBuilder { 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::*; diff --git a/azalea-brigadier/src/builder/required_argument_builder.rs b/azalea-brigadier/src/builder/required_argument_builder.rs index 3fc33143..5aca8617 100644 --- a/azalea-brigadier/src/builder/required_argument_builder.rs +++ b/azalea-brigadier/src/builder/required_argument_builder.rs @@ -13,8 +13,9 @@ use crate::{ suggestion::{SuggestionProvider, Suggestions, SuggestionsBuilder}, }; -/// An argument node type. The `T` type parameter is the type of the argument, -/// which can be anything. +/// An argument node type. +/// +/// The `T` type parameter is the type of the argument, which can be anything. pub struct Argument { pub name: String, parser: Arc, -- cgit v1.2.3