Skip to content

Commit

Permalink
Fix clippy warnings (#781)
Browse files Browse the repository at this point in the history
```
error: unused import: `Vec4Net`
 --> crates/messages/src/players/mod.rs:5:48
  |
5 | pub use geom::{TransformNet, Vec2Net, Vec3Net, Vec4Net};
  |                                                ^^^^^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`

error: unused import: `PathError`
 --> crates/messages/src/players/mod.rs:6:16
  |
6 | pub use path::{PathError, PathNet};
  |                ^^^^^^^^^
```
  • Loading branch information
Indy2222 authored Jan 24, 2024
1 parent 13cacec commit fedacc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/messages/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
pub use game::{FromGame, JoinError, Readiness, ToGame};
pub use players::{
BorrowedFromPlayers, ChatMessage, ChatMessageError, EntityNet, FromPlayers, HealthDelta,
NetEntityIndex, NetProjectile, ToPlayers, MAX_CHAT_LEN,
NetEntityIndex, NetProjectile, PathError, PathNet, ToPlayers, TransformNet, Vec2Net, Vec3Net,
Vec4Net, MAX_CHAT_LEN,
};
pub use server::{FromServer, GameOpenError, ToServer};

Expand Down

0 comments on commit fedacc3

Please sign in to comment.