From e2f9d59c458bb226e88dca50355dbe49ce7f6fc7 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 16 May 2023 23:32:10 -0500 Subject: better variable naming in doc --- azalea/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea/src/lib.rs') diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs index 09e88534..fd735585 100644 --- a/azalea/src/lib.rs +++ b/azalea/src/lib.rs @@ -96,10 +96,10 @@ where /// use azalea::{app::PluginGroup, DefaultBotPlugins, DefaultPlugins}; /// use bevy_log::LogPlugin; /// - /// let client = ClientBuilder::new_without_plugins() + /// let client_builder = ClientBuilder::new_without_plugins() /// .add_plugins(DefaultPlugins.build().disable::()) /// .add_plugins(DefaultBotPlugins); - /// # client.set_handler(handle); + /// # client_builder.set_handler(handle); /// # #[derive(Component, Clone, Default)] /// # pub struct State; /// # async fn handle(mut bot: Client, event: Event, state: State) -> anyhow::Result<()> { -- cgit v1.2.3