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-registry/src/lib.rs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'azalea-registry/src') diff --git a/azalea-registry/src/lib.rs b/azalea-registry/src/lib.rs index 6c1bf7af..88b154a2 100644 --- a/azalea-registry/src/lib.rs +++ b/azalea-registry/src/lib.rs @@ -29,8 +29,9 @@ where fn to_u32(&self) -> u32; } -/// A registry that might not be present. This is transmitted as a single -/// varint in the protocol. +/// A registry that might not be present. +/// +/// This is transmitted as a single varint in the protocol. #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct OptionalRegistry(pub Option); @@ -337,8 +338,10 @@ enum Attribute { } registry! { -/// An enum of every type of block in the game. To represent a block *state*, -/// use [`azalea_block::BlockState`] or [`azalea_block::BlockTrait`]. +/// An enum of every type of block in the game. +/// +/// To represent a block *state*, use [`azalea_block::BlockState`] or +/// [`azalea_block::BlockTrait`]. /// /// [`azalea_block::BlockState`]: https://docs.rs/azalea-block/latest/azalea_block/struct.BlockState.html /// [`azalea_block::BlockTrait`]: https://docs.rs/azalea-block/latest/azalea_block/trait.BlockTrait.html @@ -1513,9 +1516,10 @@ enum Block { } registry! { -/// An enum that contains every type of block entity. A block entity is a block -/// that contains data that can't be represented as just a block state, like -/// how chests store items. +/// An enum that contains every type of block entity. +/// +/// A block entity is a block that contains data that can't be represented as +/// just a block state, like how chests store items. enum BlockEntityKind { Furnace => "minecraft:furnace", Chest => "minecraft:chest", -- cgit v1.2.3