Skip to content

Commit 18c909c

Browse files
authored
Merge pull request #253 from LingMan/test-not-compiling
Fix compilation of a doc test
2 parents f92f147 + 1d5c9a5 commit 18c909c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompts/input.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ impl<'a, T> Input<'a, T> {
186186
/// self.history.get(pos).cloned()
187187
/// }
188188
///
189-
/// fn write(mut self, val: &T)
189+
/// fn write(&mut self, val: &T)
190190
/// where
191191
/// {
192192
/// self.history.push_front(val.to_string());

0 commit comments

Comments
 (0)