Skip to content

Commit 558bfa3

Browse files
committed
Move debug_sync to the new sync folder
1 parent f66f720 commit 558bfa3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lightning/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ mod prelude {
175175
pub use alloc::string::ToString;
176176
}
177177

178-
#[cfg(all(not(feature = "_bench_unstable"), feature = "std", test))]
179-
mod debug_sync;
180178
#[cfg(all(not(feature = "_bench_unstable"), feature = "backtrace", feature = "std", test))]
181179
extern crate backtrace;
182180

File renamed without changes.

lightning/src/sync/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#[cfg(all(feature = "std", not(feature = "_bench_unstable"), test))]
2-
pub use crate::debug_sync::*;
2+
mod debug_sync;
3+
#[cfg(all(feature = "std", not(feature = "_bench_unstable"), test))]
4+
pub use debug_sync::*;
5+
36
#[cfg(all(feature = "std", any(feature = "_bench_unstable", not(test))))]
47
pub use ::std::sync::{Arc, Mutex, Condvar, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard};
58
#[cfg(all(feature = "std", any(feature = "_bench_unstable", not(test))))]

0 commit comments

Comments
 (0)