From 64570b399b6620864dea3a80735e949cd8e92d64 Mon Sep 17 00:00:00 2001 From: Gerd Zellweger Date: Mon, 16 Jul 2018 01:01:22 -0700 Subject: [PATCH] Fix include path for alloc crate. Signed-off-by: Gerd Zellweger --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b656889..c4272b8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -147,7 +147,7 @@ use alloc::rc::Rc; #[cfg(all(feature = "std", not(feature = "alloc")))] use std::sync::Arc; #[cfg(all(not(feature = "std"), feature = "alloc"))] -use alloc::arc::Arc; +use alloc::sync::Arc; #[cfg(all(feature = "std", not(feature = "alloc")))] use std::vec::Vec;