diff --git a/examples/basic.rs b/examples/basic.rs index e68ca0f..60d6d74 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -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(()) }