Skip to content

Commit

Permalink
chore: release 0.2.1 with support for rustc 1.47
Browse files Browse the repository at this point in the history
  • Loading branch information
hansl committed Apr 21, 2021
1 parent 98bf18e commit 653030d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "garcon"
version = "0.2.0"
version = "0.2.1"
authors = ["Hans Larsen <[email protected]>"]
edition = "2018"
description = "A collection of trait and classes to make your thread or async function wait."
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.50.0
1.47.0
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub trait Waiter: WaiterClone + Send + Sync {
/// to be non-blocking.
#[cfg(feature = "async")]
fn async_wait(&mut self) -> Pin<Box<dyn Future<Output = Result<(), WaiterError>> + Send>> {
Box::pin(future::ready(self.wait()))
Box::pin(futures_util::future::ready(self.wait()))
}
}

Expand Down

0 comments on commit 653030d

Please sign in to comment.