diff options
| author | mat <github@matdoes.dev> | 2022-12-08 18:39:35 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-12-08 18:39:35 -0600 |
| commit | 70e2dfed16da8d5130460ea15b47701e622f4a9f (patch) | |
| tree | 41f670baf3a05ed180880ec2a11d8e5f6a1a1599 /azalea/src/swarm/plugins.rs | |
| parent | f2076daba5cfcce81399b075ba9258fbdc2012fa (diff) | |
| download | azalea-drasl-70e2dfed16da8d5130460ea15b47701e622f4a9f.tar.xz | |
wrap_comments = true
Diffstat (limited to 'azalea/src/swarm/plugins.rs')
| -rw-r--r-- | azalea/src/swarm/plugins.rs | 3 |
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>>, |
