Skip to content

Commit

Permalink
style: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
al3mart authored and Daanvdplas committed Dec 4, 2024
1 parent 05c0fcc commit 0fca3d9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions crates/pop-common/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl fmt::Display for Profile {
mod tests {
use super::*;
use std::path::Path;
use strum::{EnumMessage};
use strum::EnumMessage;

#[test]
fn profile_from_string() {
Expand All @@ -83,10 +83,7 @@ mod tests {

#[test]
fn profile_detailed_message() {
assert_eq!(
Profile::Debug.get_detailed_message(),
Some("Optimized for debugging.")
);
assert_eq!(Profile::Debug.get_detailed_message(), Some("Optimized for debugging."));
assert_eq!(
Profile::Release.get_detailed_message(),
Some("Optimized without any debugging functionality.")
Expand Down Expand Up @@ -134,4 +131,3 @@ mod tests {
assert_eq!(bool::from(Profile::Production), true);
}
}

0 comments on commit 0fca3d9

Please sign in to comment.