From 29cd111a49eb771f8d6038ea493fb40fc312e4f3 Mon Sep 17 00:00:00 2001 From: lbl8603 <49143209+lbl8603@users.noreply.github.com> Date: Sat, 6 Jul 2024 16:44:30 +0800 Subject: [PATCH] fmt --- common/src/identifier.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/src/identifier.rs b/common/src/identifier.rs index 884810d..329acd3 100644 --- a/common/src/identifier.rs +++ b/common/src/identifier.rs @@ -56,7 +56,8 @@ pub fn get_unique_identifier() -> Option { if let Ok(output) = Command::new("dmidecode") .arg("-s") .arg("system-uuid") - .output() { + .output() + { let identifier = String::from_utf8_lossy(&output.stdout).trim().to_owned(); if !identifier.is_empty() { return Some(identifier.to_string()); @@ -74,4 +75,4 @@ pub fn get_unique_identifier() -> Option { } None -} \ No newline at end of file +}