mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 16:21:15 -03:00
Remove unnecessary clone when opening File for debug output
This commit is contained in:
committed by
Johannes Altmanninger
parent
64ed47bf4e
commit
53dc7772eb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user