Migrate to Rust 2021 (#85)
This commit is contained in:
parent
10bae60266
commit
ccd2dfe873
|
@ -5,7 +5,7 @@ name = "event-listener"
|
|||
# - Create "v3.x.y" git tag
|
||||
version = "3.0.0"
|
||||
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
rust-version = "1.59"
|
||||
description = "Notify async tasks or threads"
|
||||
license = "Apache-2.0 OR MIT"
|
||||
|
@ -51,4 +51,3 @@ harness = false
|
|||
|
||||
[lib]
|
||||
bench = false
|
||||
|
||||
|
|
|
@ -558,7 +558,6 @@ macro_rules! impl_for_numeric_types {
|
|||
panic!("negative notification count");
|
||||
}
|
||||
|
||||
use core::convert::TryInto;
|
||||
Notify::new(self.try_into().expect("overflow"))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue