From 5874cd6fc11f1647284bb0cd4564d146c3519c5b Mon Sep 17 00:00:00 2001 From: sholderbach Date: Thu, 28 Sep 2023 16:32:17 +0200 Subject: [PATCH] Fix doctest oopsie --- src/engine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine.rs b/src/engine.rs index 2dcda6ec..c87afac8 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -463,7 +463,7 @@ impl Reedline { /// command.arg("-p"); // open in a vim tab (just for demonstration) /// // you don't have to pass the filename to the command /// let mut line_editor = - /// Reedline::create().with_buffer_editor("vim".into(), temp_file); + /// Reedline::create().with_buffer_editor(command, temp_file); /// ``` #[must_use] pub fn with_buffer_editor(mut self, editor: Command, temp_file: PathBuf) -> Self {