From 0061afeef53b357a7f7ce8020705226128cb6129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Fri, 8 Aug 2025 14:00:36 +0200 Subject: [PATCH] tests: update loom dependency. --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9ffb319..d8e9a75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ categories = ["development-tools", "embedded"] rust-version = "1.79" [target.'cfg(loom)'.dependencies] -loom = "0.5" +loom = "0.7" [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ["cfg(loom)"] } diff --git a/src/lib.rs b/src/lib.rs index 3f062ae..4722195 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -901,7 +901,7 @@ impl Interchange { } /// Claim one of the channels of the interchange. Returns None if called more than `N` times. - pub fn claim(&self) -> Option<(Requester, Responder)> { + pub fn claim(&self) -> Option<(Requester<'_, Rq, Rp>, Responder<'_, Rq, Rp>)> { self.as_interchange_ref().claim() }