aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/swarm/plugins.rs
diff options
context:
space:
mode:
authorUbuntu <github@matdoes.dev>2022-12-09 15:13:14 +0000
committerUbuntu <github@matdoes.dev>2022-12-09 15:13:14 +0000
commitca00dbab12ab7de0bba462b9814b9f491b23da69 (patch)
tree560bd906d9ca1fcb822290286e9bf5990826163a /azalea/src/swarm/plugins.rs
parentf0097612473d20ebac21e8ae5eba32bf32c2fe42 (diff)
parent70e2dfed16da8d5130460ea15b47701e622f4a9f (diff)
downloadazalea-drasl-ca00dbab12ab7de0bba462b9814b9f491b23da69.tar.xz
Merge branch 'main' of https://github.com/mat-1/azalea into main
Diffstat (limited to 'azalea/src/swarm/plugins.rs')
-rw-r--r--azalea/src/swarm/plugins.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea/src/swarm/plugins.rs b/azalea/src/swarm/plugins.rs
index 0c7cf2ae..f92d40e6 100644
--- a/azalea/src/swarm/plugins.rs
+++ b/azalea/src/swarm/plugins.rs
@@ -13,7 +13,8 @@ type U64Hasher = BuildHasherDefault<NoHashHasher<u64>>;
/// A map of plugin ids to [`SwarmPlugin`] trait objects. The client stores
/// this so we can keep the state for our [`Swarm`] plugins.
///
-/// If you're using azalea, you should generate this from the `swarm_plugins!` macro.
+/// If you're using azalea, you should generate this from the `swarm_plugins!`
+/// macro.
#[derive(Clone, Default)]
pub struct SwarmPlugins<S> {
map: Option<HashMap<TypeId, Box<dyn SwarmPlugin<S>>, U64Hasher>>,