aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/particle.rs
diff options
context:
space:
mode:
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