Skip to content

Commit

Permalink
Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Nov 19, 2016
1 parent 1dcb65d commit b8d91eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion futures-cpupool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//! use futures_cpupool::CpuPool;
//!
//! # fn long_running_future(a: u32) -> futures::future::BoxFuture<u32, ()> {
//! # futures::future::done(Ok(a)).boxed()
//! # futures::future::result(Ok(a)).boxed()
//! # }
//! # fn main() {
//!
Expand Down
2 changes: 1 addition & 1 deletion futures-cpupool/tests/smoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use futures::future::{Future, BoxFuture};
use futures_cpupool::{CpuPool, Builder};

fn done<T: Send + 'static>(t: T) -> BoxFuture<T, ()> {
futures::future::done(Ok(t)).boxed()
futures::future::ok(t).boxed()
}

#[test]
Expand Down

0 comments on commit b8d91eb

Please sign in to comment.