Skip to content

Commit 96789e1

Browse files
committed
docs: Fix typos
1 parent 922c64a commit 96789e1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1919

2020
- Fix https link to pexpect docs
2121
- Many clippy fixes
22-
- Remove unnecesary closures
22+
- Remove unnecessary closures
2323
- Fix EOF detection on nightly
2424
- Fix examples
2525

_typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[default.extend-identifiers]
2+
SendContolError = "SendContolError" # breaking change to fix

src/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ impl PtyProcess {
218218
Some(status) if status != wait::WaitStatus::StillAlive => return Ok(status),
219219
Some(_) | None => thread::sleep(time::Duration::from_millis(100)),
220220
}
221-
// kill -9 if timout is reached
221+
// kill -9 if timeout is reached
222222
if let Some(timeout) = self.kill_timeout {
223223
if start.elapsed() > timeout {
224224
signal::kill(self.child_pid, signal::Signal::SIGKILL).map_err(Error::from)?;

0 commit comments

Comments
 (0)