Skip to content

Commit

Permalink
chore(pumpkin-config, pumpkin-core): cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
DataM0del committed Dec 28, 2024
1 parent 3e3b895 commit b5e2fe6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pumpkin-config/src/commands.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion pumpkin-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down
2 changes: 1 addition & 1 deletion pumpkin-core/src/permission.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b5e2fe6

Please sign in to comment.