Skip to content

Commit 0061afe

Browse files
tests: update loom dependency.
1 parent 4a0eb99 commit 0061afe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["development-tools", "embedded"]
1313
rust-version = "1.79"
1414

1515
[target.'cfg(loom)'.dependencies]
16-
loom = "0.5"
16+
loom = "0.7"
1717

1818
[lints.rust]
1919
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(loom)"] }

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ impl<Rq, Rp, const N: usize> Interchange<Rq, Rp, N> {
901901
}
902902

903903
/// Claim one of the channels of the interchange. Returns None if called more than `N` times.
904-
pub fn claim(&self) -> Option<(Requester<Rq, Rp>, Responder<Rq, Rp>)> {
904+
pub fn claim(&self) -> Option<(Requester<'_, Rq, Rp>, Responder<'_, Rq, Rp>)> {
905905
self.as_interchange_ref().claim()
906906
}
907907

0 commit comments

Comments
 (0)