diff --git a/_typos.toml b/_typos.toml deleted file mode 100644 index 7635f961..00000000 --- a/_typos.toml +++ /dev/null @@ -1,2 +0,0 @@ -[default.extend-identifiers] -SendContolError = "SendContolError" # breaking change to fix diff --git a/src/error.rs b/src/error.rs index 3b469a3b..45a6f381 100644 --- a/src/error.rs +++ b/src/error.rs @@ -29,7 +29,7 @@ pub enum Error { Io(#[from] std::io::Error), #[error("Did not understand Ctrl-{}", .0)] - SendContolError(char), + SendControlError(char), #[error("Failed to send via MPSC channel")] MpscSendError, diff --git a/src/session.rs b/src/session.rs index 5fcb10ee..35ab8473 100644 --- a/src/session.rs +++ b/src/session.rs @@ -55,7 +55,7 @@ impl StreamSession { ']' => 29, '^' => 30, '_' => 31, - _ => return Err(Error::SendContolError(c)), + _ => return Err(Error::SendControlError(c)), }; self.writer.write_all(&[code])?; // stdout is line buffered, so needs a flush