Unnecessary format

This commit is contained in:
Greg Shuflin committed 2024-05-15 10:44:06 -07:00
1 parent e5ef749d27
commit 6e491d242a
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ impl CommandAPI {
Command::Open => {
let path = match commands.next() {
Some(p) => PathBuf::from(p),
None => return Some(CommandOutput::Error(format!("open: no path given"))),
None => return Some(CommandOutput::Error("open: no path given".to_string())),
};
Some(CommandOutput::OpenFile(path))