Skip to content

Commit b242b42

Browse files
authored
Merge pull request #133 from epage/typo
fix!: Rename SendContolError to SendControlError
2 parents 5b71392 + a72d4fa commit b242b42

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

_typos.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub enum Error {
2929
Io(#[from] std::io::Error),
3030

3131
#[error("Did not understand Ctrl-{}", .0)]
32-
SendContolError(char),
32+
SendControlError(char),
3333

3434
#[error("Failed to send via MPSC channel")]
3535
MpscSendError,

src/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl<W: Write> StreamSession<W> {
5555
']' => 29,
5656
'^' => 30,
5757
'_' => 31,
58-
_ => return Err(Error::SendContolError(c)),
58+
_ => return Err(Error::SendControlError(c)),
5959
};
6060
self.writer.write_all(&[code])?;
6161
// stdout is line buffered, so needs a flush

0 commit comments

Comments
 (0)