diff --git a/Cargo.toml b/Cargo.toml index e217536..0276231 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ repository = "https://github.com/tokio-rs/loom" readme = "README.md" keywords = ["atomic", "lock-free"] categories = ["concurrency", "data-structures"] -rust-version = "1.65" +rust-version = "1.73" [features] default = [] @@ -31,7 +31,7 @@ scoped-tls = "1.0.0" generator = "0.8.1" # Requires for "checkpoint" feature -serde = { version = "1.0.92", features = ["derive"], optional = true } +serde = { version = "1.0.113", features = ["derive"], optional = true } serde_json = { version = "1.0.33", optional = true } # Requires for "futures" feature diff --git a/src/rt/object.rs b/src/rt/object.rs index 87959eb..99ca22f 100644 --- a/src/rt/object.rs +++ b/src/rt/object.rs @@ -199,7 +199,7 @@ impl Store { }) } - pub(super) fn iter_mut<'a, O>(&'a mut self) -> impl DoubleEndedIterator + pub(super) fn iter_mut<'a, O>(&'a mut self) -> impl DoubleEndedIterator where O: Object + 'a, { diff --git a/src/thread.rs b/src/thread.rs index eca72db..6269bf7 100644 --- a/src/thread.rs +++ b/src/thread.rs @@ -280,7 +280,7 @@ impl LocalKey { Ok(f(value)) } - unsafe fn get(&'static self) -> Option> { + unsafe fn get(&'static self) -> Option> { unsafe fn transmute_lt<'a, 'b, T>(t: &'a T) -> &'b T { std::mem::transmute::<&'a T, &'b T>(t) }