Unnecessary format
This commit is contained in:
1 parent
e5ef749d27
commit
6e491d242a
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user