mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Clippy the Pendant
This commit is contained in:
parent
8069d1badc
commit
4cc41a8731
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ impl Command {
|
|||
.file_name()
|
||||
// Convert to string, very unlikely to contain non-UTF8
|
||||
.map(|x| x.to_string_lossy().to_string())
|
||||
.unwrap_or(input.0.to_owned());
|
||||
.unwrap_or_else(|| input.0.to_owned());
|
||||
|
||||
let command = Command {
|
||||
command_name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue