Update typos

This commit is contained in:
Alexander Medvedev
2025-05-03 15:56:01 +02:00
parent c32b74f584
commit bfc2f6794a
3 changed files with 5 additions and 5 deletions

View File

@@ -18,4 +18,4 @@ jobs:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Spell Check Repo
uses: crate-ci/typos@v1.31.0
uses: crate-ci/typos@v1.32.0

View File

@@ -15,7 +15,7 @@ pub struct CParticle<'a> {
offset: Vector3<f32>,
max_speed: f32,
particle_count: i32,
pariticle_id: VarInt,
particle_id: VarInt,
#[serde(serialize_with = "network_serialize_no_prefix")]
data: &'a [u8],
}
@@ -29,7 +29,7 @@ impl<'a> CParticle<'a> {
offset: Vector3<f32>,
max_speed: f32,
particle_count: i32,
pariticle_id: VarInt,
particle_id: VarInt,
data: &'a [u8],
) -> Self {
Self {
@@ -39,7 +39,7 @@ impl<'a> CParticle<'a> {
offset,
max_speed,
particle_count,
pariticle_id,
particle_id,
data,
}
}

View File

@@ -72,7 +72,7 @@ impl<'a> DoublePerlinNoiseBuilder<'a> {
let parameters = DoublePerlinNoiseParameters::id_to_parameters(id)
.unwrap_or_else(|| panic!("Unknown noise id: {}", id));
// Note that the parameters' id is differenent than `id`
// Note that the parameters' id is different than `id`
let mut random = self
.random_config
.base_random_deriver