aboutsummaryrefslogtreecommitdiff
path: root/azalea/README.md
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/README.md
parent1a1402954b07cd77615d0afc026c73b008787f51 (diff)
downloadazalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea/README.md')
-rw-r--r--azalea/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/azalea/README.md b/azalea/README.md
index 5d0b6d5f..7860741a 100644
--- a/azalea/README.md
+++ b/azalea/README.md
@@ -57,9 +57,11 @@ async fn main() {
#[derive(Default, Clone, Component)]
pub struct State {
/// An example field that stores the number of messages that've been
- /// received by the client so far. The state gets cloned whenever the
- /// handler is called, so to have all the clones point to the same data and
- /// have it be mutable, we use an Arc<Mutex<T>>.
+ /// received by the client so far.
+ ///
+ /// The state gets cloned whenever the handler is called, so to have all
+ /// the clones point to the same data and have it be mutable, we use an
+ /// Arc<Mutex<T>>.
pub messages_received: Arc<Mutex<usize>>
}