parent
9f323bdd17
commit
52fc24e037
@ -1 +1 @@
|
|||||||
SOURCES/crossbeam-epoch-0.9.17.crate
|
SOURCES/crossbeam-epoch-0.9.18.crate
|
||||||
|
@ -1 +1 @@
|
|||||||
6363a924b2573952465b29178ca2133d6030be2f SOURCES/crossbeam-epoch-0.9.17.crate
|
5191ef5c294dc963938807b99a6fb93a91d03cbc SOURCES/crossbeam-epoch-0.9.18.crate
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
From 1cead3c1acf440d13bfa09a636a70531337f170d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Fabio Valentini <decathorpe@gmail.com>
|
|
||||||
Date: Mon, 9 Oct 2023 01:19:01 +0200
|
|
||||||
Subject: [PATCH] Remove redundant clone() call to fix builds with Rust 1.73+
|
|
||||||
|
|
||||||
---
|
|
||||||
src/guard.rs | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/guard.rs b/src/guard.rs
|
|
||||||
index ba7fe1b..32c82e6 100644
|
|
||||||
--- a/src/guard.rs
|
|
||||||
+++ b/src/guard.rs
|
|
||||||
@@ -448,7 +448,7 @@ impl fmt::Debug for Guard {
|
|
||||||
/// a.load(Relaxed, epoch::unprotected());
|
|
||||||
///
|
|
||||||
/// // It's possible to create more dummy guards by calling `clone()`.
|
|
||||||
-/// let dummy = &epoch::unprotected().clone();
|
|
||||||
+/// let dummy = &epoch::unprotected();
|
|
||||||
///
|
|
||||||
/// dummy.defer(move || {
|
|
||||||
/// println!("This gets executed immediately.");
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
Loading…
Reference in new issue