Skip to content

Commit 1abfc77

Browse files
committed
Some targets don't have alloc::sync
1 parent 423b772 commit 1abfc77

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

std/src/lib.rs

-9
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ pub mod slice {
2929
pub use alloc::slice::*;
3030
}
3131

32-
#[cfg(not(feature = "std"))]
33-
pub mod sync {
34-
pub use core::sync::*;
35-
pub use alloc::sync::*;
36-
}
37-
3832
#[cfg(not(feature = "std"))]
3933
pub mod str {
4034
pub use core::str::*;
@@ -51,9 +45,6 @@ pub mod error;
5145
#[doc(hidden)]
5246
pub use std::*;
5347

54-
55-
56-
5748
/// Creates parallel iterator over refs if `parallel` feature is enabled.
5849
#[macro_export]
5950
macro_rules! cfg_iter {

0 commit comments

Comments
 (0)