Spelling fixes in comments (#508)

This commit is contained in:
Josh Soref
2021-02-25 11:59:18 -05:00
committed by GitHub
parent c1b411fc14
commit bcaaaf6dd9
9 changed files with 12 additions and 12 deletions

View File

@@ -126,7 +126,7 @@ pub use codec::{Codec, RecvError, SendError, UserError};
use std::task::Poll;
// TODO: Get rid of this trait once https://github.com/rust-lang/rust/pull/63512
// is stablized.
// is stabilized.
trait PollExt<T, E> {
/// Changes the success value of this `Poll` with the closure provided.
fn map_ok_<U, F>(self, f: F) -> Poll<Option<Result<U, E>>>