From aab9f56da20a36347fe31557377e07a47c114dc6 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 15 Dec 2025 13:53:46 +0930 Subject: improve docs by enabling scraped examples and bevy trait tags --- azalea/src/builder.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'azalea/src/builder.rs') diff --git a/azalea/src/builder.rs b/azalea/src/builder.rs index d0318424..91fb9d5e 100644 --- a/azalea/src/builder.rs +++ b/azalea/src/builder.rs @@ -11,8 +11,8 @@ use crate::{ swarm::{self, SwarmBuilder}, }; -/// A builder for creating new [`Client`]s. This is the recommended way of -/// making a bot. +/// A builder for creating new [`Client`](crate::Client)s. This is the +/// recommended way of making a bot. /// /// ```no_run /// # use azalea::prelude::*; @@ -84,8 +84,9 @@ impl ClientBuilder { } } - /// Set the function that's called every time a bot receives an [`Event`]. - /// This is the way to handle normal per-bot events. + /// Set the function that's called every time a bot receives an + /// [`Event`](crate::Client). This is the way to handle normal per-bot + /// events. /// /// Currently, you can have up to one client handler. /// @@ -156,8 +157,8 @@ where self } - /// Build this `ClientBuilder` into an actual [`Client`] and join the given - /// server. + /// Build this `ClientBuilder` into an actual [`Client`](crate::Client) and + /// join the given server. /// /// If the client can't join, it'll keep retrying forever until it can. /// -- cgit v1.2.3