remove 1 to_string and replace some others with to_owned

This commit is contained in:
2025-04-18 00:59:07 +01:00
parent 18f667a91a
commit 19b1ade758
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ impl App {
.iter()
.find(|(_, p)| p.name() == ENHANCED || p.name() == LEGACY)
.map_or_else(
|| "no pid found!".to_string(),
|| "no pid found!".to_owned(),
|(pid, _)| pid.as_u32().to_string(),
);
ui.label(format!("gta pid: {pid}"));