Rustfmt
diff --git a/src/error.rs b/src/error.rs
index db70cae..b728bdb 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -23,8 +23,10 @@
/// Unix Error from syscall
#[cfg(unix)]
Errno(nix::Error),
- #[cfg(windows)] WindowResize,
- #[cfg(windows)] Decode(char::DecodeUtf16Error),
+ #[cfg(windows)]
+ WindowResize,
+ #[cfg(windows)]
+ Decode(char::DecodeUtf16Error),
}
impl fmt::Display for ReadlineError {
diff --git a/src/lib.rs b/src/lib.rs
index 59e335b..baace4c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1191,10 +1191,8 @@
/// that it pre-populates the input area.
///
/// The text that resides in the input area is given as a 2-tuple.
- /// The string on the left of the tuple what will appear to the left of the
- /// cursor
- /// and the string on the right is what will appear to the right of the
- /// cursor.
+ /// The string on the left of the tuple is what will appear to the left of the cursor
+ /// and the string on the right is what will appear to the right of the cursor.
pub fn readline_with_initial(&mut self, prompt: &str, initial: (&str, &str)) -> Result<String> {
self.readline_with(prompt, Some(initial))
}