aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/particle.rs
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-entity/src/particle.rs
parent1a1402954b07cd77615d0afc026c73b008787f51 (diff)
downloadazalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea-entity/src/particle.rs')
-rw-r--r--azalea-entity/src/particle.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/azalea-entity/src/particle.rs b/azalea-entity/src/particle.rs
index ce5f5350..5b7bb6af 100644
--- a/azalea-entity/src/particle.rs
+++ b/azalea-entity/src/particle.rs
@@ -130,8 +130,10 @@ pub enum Particle {
}
impl From<ParticleKind> for Particle {
- /// Convert a particle kind into particle data. If the particle has data
- /// attached (like block particles), then it's set to the default.
+ /// Convert a particle kind into particle data.
+ ///
+ /// If the particle has data attached (like block particles), then it's set
+ /// to the default.
fn from(kind: ParticleKind) -> Self {
// this is mostly just here so it fails to compile when a new particle is added
// to ParticleKind, since `Particle` has to be updated manually