Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
style(cap-test): use inline format strings in discovery
Richie McIlroy2cd9bc0617b1
diff --git a/crates/cap-test/src/discovery/displays.rs b/crates/cap-test/src/discovery/displays.rsindex dc1c94e31..4d647e086 100644--- a/crates/cap-test/src/discovery/displays.rs+++ b/crates/cap-test/src/discovery/displays.rs@@ -31,7 +31,7 @@ impl DiscoveredDisplay {(2880, 1800) => "Retina".to_string(),(3024, 1964) => "MBP-14".to_string(),(3456, 2234) => "MBP-16".to_string(),- _ => format!("{}x{}", w, h),+ _ => format!("{w}x{h}"),}}}diff --git a/crates/cap-test/src/discovery/mod.rs b/crates/cap-test/src/discovery/mod.rsindex 679f41182..c9389ed58 100644--- a/crates/cap-test/src/discovery/mod.rs+++ b/crates/cap-test/src/discovery/mod.rs@@ -53,7 +53,7 @@ impl DiscoveredHardware {println!(" CPU: {}", self.system_info.cpu);println!(" Memory: {} GB", self.system_info.memory_gb);if let Some(gpu) = &self.system_info.gpu {- println!(" GPU: {}", gpu);+ println!(" GPU: {gpu}");}println!("\n{} ({})", "Displays:".bold(), self.displays.len());