mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-26 03:35:17 +00:00
Remove unnecessary clone when opening File for debug output
This commit is contained in:
parent
64ed47bf4e
commit
53dc7772eb
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ fn throwing_main() -> i32 {
|
|||
.write(true)
|
||||
.truncate(true)
|
||||
.create(true)
|
||||
.open(debug_path.clone())
|
||||
.open(&debug_path)
|
||||
{
|
||||
Ok(dbg_file) => {
|
||||
// Rust sets O_CLOEXEC by default
|
||||
|
|
Loading…
Reference in a new issue