Merge pull request #159 from jtescher/fix-typos

Fix typos
This commit is contained in:
Alex Crichton
2017-01-24 21:05:21 -08:00
committed by GitHub
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ mod test {
/// TODO: this test actually should be successful, but since we can't
/// multiply Duration on anything larger than u32 easily we decided
/// to allow thit to fail for now
/// to allow it to fail for now
#[test]
#[should_panic(expected = "can't skip more than 4 billion intervals")]
fn large_skip() {
+1 -1
View File
@@ -154,7 +154,7 @@ impl<E> PollEvented<E> {
/// then again writable.
///
/// Note that it is also only valid to call this method if `poll_write`
/// previously indicated that the object is writeable. That is, this function
/// previously indicated that the object is writable. That is, this function
/// must always be paired with calls to `poll_write` previously.
pub fn need_write(&self) {
self.readiness.fetch_and(!2, Ordering::SeqCst);