Skip to content

Commit

Permalink
style: update print messages
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Apr 5, 2024
1 parent f6d41d8 commit 0864ab1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ fn main() -> Result<(), archspec::cpu::UnsupportedMicroarchitecture> {
let architecture = archspec::cpu::host()?;

println!("Current CPU architecture:");
println!(" Name: {}", architecture.name());
println!(" Vendor: {}", architecture.vendor());
println!(" Generation: {}", architecture.generation());
println!(" Family Name: {}", architecture.family().name());
println!(" Features: {:?}", architecture.all_features());
println!("- Name: {}", architecture.name());
println!("- Vendor: {}", architecture.vendor());
println!("- Generation: {}", architecture.generation());
println!("- Family Name: {}", architecture.family().name());
println!("- Features: {:?}", architecture.all_features());

Ok(())
}

0 comments on commit 0864ab1

Please sign in to comment.