Skip to content

Commit 1d5c9a5

Browse files
committed
Fix compilation of a doc test
1 parent f92f147 commit 1d5c9a5

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)