Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashermansson committed Oct 12, 2024
1 parent f2379ed commit a98fce6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/valence_inventory/src/validate.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use valence_server::protocol::anyhow::{self, bail, ensure};
use valence_server::protocol::anyhow::{self, bail, ensure}

Check failure on line 1 in crates/valence_inventory/src/validate.rs

View workflow job for this annotation

GitHub Actions / Clippy

expected `;`, found keyword `use`

Check failure on line 1 in crates/valence_inventory/src/validate.rs

View workflow job for this annotation

GitHub Actions / Formatting

expected `;`, found keyword `use`

Check failure on line 1 in crates/valence_inventory/src/validate.rs

View workflow job for this annotation

GitHub Actions / Documentation

expected `;`, found keyword `use`

Check failure on line 1 in crates/valence_inventory/src/validate.rs

View workflow job for this annotation

GitHub Actions / Miri Tests

expected `;`, found keyword `use`

Check failure on line 1 in crates/valence_inventory/src/validate.rs

View workflow job for this annotation

GitHub Actions / Tests (macos-latest)

expected `;`, found keyword `use`

Check failure on line 1 in crates/valence_inventory/src/validate.rs

View workflow job for this annotation

GitHub Actions / Tests (ubuntu-latest)

expected `;`, found keyword `use`

Check failure on line 1 in crates/valence_inventory/src/validate.rs

View workflow job for this annotation

GitHub Actions / Unused Dependencies

expected `;`, found keyword `use`
use valence_server::protocol::packets::play::click_slot_c2s::ClickMode;
use valence_server::protocol::packets::play::ClickSlotC2s;

Expand Down Expand Up @@ -877,7 +877,7 @@ mod tests {
.expect("packet should be valid");
}
#[test]
fn allow_clicking_outside_inventory_when_not_holding_anything_sucess() {
fn allow_clicking_outside_inventory_when_not_holding_anything_success() {
let player_inventory = Inventory::new(InventoryKind::Player);
let cursor_item = CursorItem(ItemStack::new(ItemKind::Air, 0, None));

Expand All @@ -896,7 +896,7 @@ mod tests {
.expect("packet should be valid");
}
#[test]
fn allow_clicking_outside_inventory_when_holding_somthing_sucess() {
fn allow_clicking_outside_inventory_when_holding_something_success() {
let player_inventory = Inventory::new(InventoryKind::Player);
let cursor_item = CursorItem(ItemStack::new(ItemKind::Air, 0, None));

Expand Down

0 comments on commit a98fce6

Please sign in to comment.