Skip to content

Commit 3a6436a

Browse files
Use named arguments in format string.
1 parent 3e76fc9 commit 3a6436a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command/path_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ impl CommandPathCache {
6262
let full_path = match which_result {
6363
Ok(path) => path,
6464
Err(e) => {
65-
error!("error resolving path {:?}: {}", command_path, e);
65+
error!("error resolving path {command_path:?}: {e}");
6666
cache.insert(command_path.to_path_buf(), CacheValue::NotResolvable);
6767
return Ok(None);
6868
}

0 commit comments

Comments
 (0)