From b5e2fe60e7fe57d0289364aea2b205b18b5728a2 Mon Sep 17 00:00:00 2001 From: DataM0del <183248792+DataM0del@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:51:46 -0500 Subject: [PATCH] chore(pumpkin-config, pumpkin-core): `cargo fmt` --- pumpkin-config/src/commands.rs | 2 +- pumpkin-core/src/lib.rs | 2 +- pumpkin-core/src/permission.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pumpkin-config/src/commands.rs b/pumpkin-config/src/commands.rs index 908ad5c2..b651a522 100644 --- a/pumpkin-config/src/commands.rs +++ b/pumpkin-config/src/commands.rs @@ -1,6 +1,6 @@ +use pumpkin_core::PermissionLvl; #[cfg(feature = "schemars")] use schemars::JsonSchema; -use pumpkin_core::PermissionLvl; use serde::{Deserialize, Serialize}; #[derive(Deserialize, Serialize)] diff --git a/pumpkin-core/src/lib.rs b/pumpkin-core/src/lib.rs index 021ba90a..0824dcb5 100644 --- a/pumpkin-core/src/lib.rs +++ b/pumpkin-core/src/lib.rs @@ -5,9 +5,9 @@ pub mod random; pub mod text; pub use gamemode::GameMode; +pub use permission::PermissionLvl; #[cfg(feature = "schemars")] pub use schemars::JsonSchema; -pub use permission::PermissionLvl; use serde::{Deserialize, Serialize}; diff --git a/pumpkin-core/src/permission.rs b/pumpkin-core/src/permission.rs index 6fd198df..81d15138 100644 --- a/pumpkin-core/src/permission.rs +++ b/pumpkin-core/src/permission.rs @@ -1,6 +1,6 @@ +use num_derive::{FromPrimitive, ToPrimitive}; #[cfg(feature = "schemars")] use schemars::JsonSchema; -use num_derive::{FromPrimitive, ToPrimitive}; use serde::{Deserialize, Deserializer, Serialize, Serializer}; /// Represents the player's permission level