Skip to content

Commit

Permalink
Merge pull request #253 from LingMan/test-not-compiling
Browse files Browse the repository at this point in the history
Fix compilation of a doc test
  • Loading branch information
pksunkara committed Apr 15, 2023
2 parents f92f147 + 1d5c9a5 commit 18c909c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prompts/input.rs
Expand Up @@ -186,7 +186,7 @@ impl<'a, T> Input<'a, T> {
/// self.history.get(pos).cloned()
/// }
///
/// fn write(mut self, val: &T)
/// fn write(&mut self, val: &T)
/// where
/// {
/// self.history.push_front(val.to_string());
Expand Down

0 comments on commit 18c909c

Please sign in to comment.