Update typos
This commit is contained in:
parent
c32b74f584
commit
bfc2f6794a
2
.github/workflows/typos.yml
vendored
2
.github/workflows/typos.yml
vendored
@ -18,4 +18,4 @@ jobs:
|
|||||||
- name: Checkout Actions Repository
|
- name: Checkout Actions Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Spell Check Repo
|
- name: Spell Check Repo
|
||||||
uses: crate-ci/typos@v1.31.0
|
uses: crate-ci/typos@v1.32.0
|
||||||
@ -15,7 +15,7 @@ pub struct CParticle<'a> {
|
|||||||
offset: Vector3<f32>,
|
offset: Vector3<f32>,
|
||||||
max_speed: f32,
|
max_speed: f32,
|
||||||
particle_count: i32,
|
particle_count: i32,
|
||||||
pariticle_id: VarInt,
|
particle_id: VarInt,
|
||||||
#[serde(serialize_with = "network_serialize_no_prefix")]
|
#[serde(serialize_with = "network_serialize_no_prefix")]
|
||||||
data: &'a [u8],
|
data: &'a [u8],
|
||||||
}
|
}
|
||||||
@ -29,7 +29,7 @@ impl<'a> CParticle<'a> {
|
|||||||
offset: Vector3<f32>,
|
offset: Vector3<f32>,
|
||||||
max_speed: f32,
|
max_speed: f32,
|
||||||
particle_count: i32,
|
particle_count: i32,
|
||||||
pariticle_id: VarInt,
|
particle_id: VarInt,
|
||||||
data: &'a [u8],
|
data: &'a [u8],
|
||||||
) -> Self {
|
) -> Self {
|
||||||
Self {
|
Self {
|
||||||
@ -39,7 +39,7 @@ impl<'a> CParticle<'a> {
|
|||||||
offset,
|
offset,
|
||||||
max_speed,
|
max_speed,
|
||||||
particle_count,
|
particle_count,
|
||||||
pariticle_id,
|
particle_id,
|
||||||
data,
|
data,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -72,7 +72,7 @@ impl<'a> DoublePerlinNoiseBuilder<'a> {
|
|||||||
let parameters = DoublePerlinNoiseParameters::id_to_parameters(id)
|
let parameters = DoublePerlinNoiseParameters::id_to_parameters(id)
|
||||||
.unwrap_or_else(|| panic!("Unknown noise id: {}", 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
|
let mut random = self
|
||||||
.random_config
|
.random_config
|
||||||
.base_random_deriver
|
.base_random_deriver
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user