Skip to content

Commit

Permalink
Fix doctest oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
sholderbach committed Sep 28, 2023
1 parent b5d7ecf commit 5874cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5874cd6

Please sign in to comment.