diff --git a/serde/src/lib.rs b/serde/src/lib.rs index e4db0150..eade9bc7 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -196,7 +196,7 @@ mod lib { pub use std::rc::{Rc, Weak as RcWeak}; #[cfg(all(feature = "rc", feature = "alloc", not(feature = "std")))] - pub use alloc::arc::{Arc, Weak as ArcWeak}; + pub use alloc::sync::{Arc, Weak as ArcWeak}; #[cfg(all(feature = "rc", feature = "std"))] pub use std::sync::{Arc, Weak as ArcWeak};