Skip to content

Commit

Permalink
Merge pull request rust-lang#40 from SimonSapin/patch-3
Browse files Browse the repository at this point in the history
Update doc-comment refering to poll() returning None
  • Loading branch information
alexcrichton authored Aug 11, 2016
2 parents 0042a6b + 5acfdc5 commit 56b4d0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ pub trait Future: Send + 'static {
/// Schedule a task to be notified when this future is ready.
///
/// Throughout the lifetime of a future it may frequently be `poll`'d on to
/// test whether the value is ready yet. If `None` is returned, however, the
/// caller may then register interest via this function to get a
/// test whether the value is ready yet. If `Poll::NotReady` is returned,
/// however, the caller may then register interest via this function to get a
/// notification when the future can indeed make progress.
///
/// The `task` argument provided is the same task as provided to `poll`, and
Expand Down

0 comments on commit 56b4d0f

Please sign in to comment.