diff options
| author | mat <git@matdoes.dev> | 2025-03-13 21:27:48 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-03-13 21:27:48 +0000 |
| commit | 95bdb362ba3a77a139a129c716cc4e05a8fa1828 (patch) | |
| tree | 268dd618bacba5afd658a3aa12bba33abea0132e /azalea/src | |
| parent | f8140e418805aff1f6fb35c55a77d61a3a3656af (diff) | |
| download | azalea-drasl-95bdb362ba3a77a139a129c716cc4e05a8fa1828.tar.xz | |
improve Swarm docs and change an indexing warning to a debug log
Diffstat (limited to 'azalea/src')
| -rw-r--r-- | azalea/src/swarm/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs index c8546c2b..17a3dfe3 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -35,6 +35,8 @@ use crate::{BoxHandleFn, DefaultBotPlugins, HandleFn, JoinOpts, NoState, StartEr /// A swarm is a way to conveniently control many bots at once, while also /// being able to control bots at an individual level when desired. /// +/// It can safely be cloned, so there should be no need to wrap them in a Mutex. +/// /// Swarms are created from [`SwarmBuilder`]. /// /// Clients can be added to the swarm later via [`Swarm::add`], and can be |
