diff options
Diffstat (limited to 'azalea/src')
| -rw-r--r-- | azalea/src/swarm/mod.rs | 2 | ||||
| -rw-r--r-- | azalea/src/swarm/prelude.rs | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs index 33402566..dcf412e2 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -29,7 +29,7 @@ use tokio::sync::mpsc; /// 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. /// -/// Swarms are created from [`azalea::SwarmBuilder`]. +/// Swarms are created from [`azalea::swarm::SwarmBuilder`]. /// /// The `S` type parameter is the type of the state for individual bots. /// It's used to make the [`Swarm::add`] function work. diff --git a/azalea/src/swarm/prelude.rs b/azalea/src/swarm/prelude.rs new file mode 100644 index 00000000..18012ebd --- /dev/null +++ b/azalea/src/swarm/prelude.rs @@ -0,0 +1,3 @@ +//! A prelude that re-exports common swarm types in Azalea. + +pub use crate::swarm::{Swarm, SwarmBuilder, SwarmEvent}; |
