From 29a5110fbb051465841634f1a8a893081043832e Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 9 Nov 2023 16:50:15 +0100 Subject: [PATCH] Fmt. --- candle-examples/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/candle-examples/src/lib.rs b/candle-examples/src/lib.rs index 39ba308030..dff31b8552 100644 --- a/candle-examples/src/lib.rs +++ b/candle-examples/src/lib.rs @@ -15,13 +15,13 @@ pub fn device(cpu: bool) -> Result { } else { #[cfg(all(target_os = "macos", target_arch = "aarch64"))] { - println!("Running on CPU, to run on GPU(metal), build this example with `--features metal`"); + println!( + "Running on CPU, to run on GPU(metal), build this example with `--features metal`" + ); } #[cfg(not(all(target_os = "macos", target_arch = "aarch64")))] { - println!( - "Running on CPU, to run on GPU, build this example with `--features cuda`" - ); + println!("Running on CPU, to run on GPU, build this example with `--features cuda`"); } Ok(Device::Cpu) }