Skip to content

Commit

Permalink
fix typos in code with crate-ci/typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Dec 10, 2023
1 parent b982914 commit 10ee7e1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion azalea-client/src/movement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ fn send_sprinting_if_needed(
}
}

/// Update the impulse from self.move_direction. The multipler is used for
/// Update the impulse from self.move_direction. The multiplier is used for
/// sneaking.
pub(crate) fn tick_controls(mut query: Query<&mut PhysicsState>) {
for mut physics_state in query.iter_mut() {
Expand Down
4 changes: 2 additions & 2 deletions azalea-client/src/packet_handling/game.rs
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,9 @@ pub fn process_packet_events(ecs: &mut World) {
entity.world_scope(|world| {
let mut commands_system_state = SystemState::<Commands>::new(world);
let mut commands = commands_system_state.get_mut(world);
let mut entity_comands = commands.entity(entity_id);
let mut entity_commands = commands.entity(entity_id);
if let Err(e) =
apply_metadata(&mut entity_comands, *entity_kind, packed_items)
apply_metadata(&mut entity_commands, *entity_kind, packed_items)
{
warn!("{e}");
}
Expand Down
2 changes: 1 addition & 1 deletion azalea-protocol/examples/handshake_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async fn transfer(
outbound.set_nodelay(true)?;

// Repeat the intent and hello packet
// recieved earlier to the proxy target
// received earlier to the proxy target
let mut outbound_conn: Connection<ClientboundHandshakePacket, ServerboundHandshakePacket> =
Connection::wrap(outbound);
outbound_conn.write(intent.get()).await?;
Expand Down
2 changes: 1 addition & 1 deletion azalea/src/swarm/chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ mod tests {
fn make_test_app() -> App {
let mut app = App::new();
// we add the events like this instead of with .add_event so we can have our own
// event mangement in drain_events
// event management in drain_events
app.init_resource::<Events<ChatReceivedEvent>>()
.init_resource::<Events<NewChatMessageEvent>>()
.add_systems(
Expand Down

0 comments on commit 10ee7e1

Please sign in to comment.