diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 0ac55ce72..2cf6259e8 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -330,8 +330,7 @@ fn buffer_reopen( return Ok(()); } - if let Some(last_closed_doc_path) = cx.editor.closed_document_paths.pop() - { + if let Some(last_closed_doc_path) = cx.editor.closed_document_paths.pop() { cx.editor.open(&last_closed_doc_path, Action::Replace)?; } Ok(())