diff options
| author | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
| commit | ee2575794e91b9457a74a95daf1dcc707058cd58 (patch) | |
| tree | df725850ef18ded5ce3f6552e17095d0f704ae84 /azalea-entity/src/particle.rs | |
| parent | 1a1402954b07cd77615d0afc026c73b008787f51 (diff) | |
| download | azalea-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.rs | 6 |
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 |
