diff --git a/config/src/prelude.rs b/config/src/prelude.rs index aa9a20b65..c000154db 100644 --- a/config/src/prelude.rs +++ b/config/src/prelude.rs @@ -2,7 +2,6 @@ // https://doc.rust-lang.org/src/alloc/prelude/v1.rs.html pub use alloc::{ borrow::ToOwned, - boxed::Box, format, string::{String, ToString}, vec, diff --git a/light-client-verifier/src/prelude.rs b/light-client-verifier/src/prelude.rs index 57a0cedc3..b449374ca 100644 --- a/light-client-verifier/src/prelude.rs +++ b/light-client-verifier/src/prelude.rs @@ -1,13 +1,10 @@ // Re-export according to alloc::prelude::v1 because it is not yet stabilized // https://doc.rust-lang.org/src/alloc/prelude/v1.rs.html +#[allow(unused_imports)] pub use alloc::{ - borrow::ToOwned, boxed::Box, - format, string::{String, ToString}, vec, vec::Vec, }; -// will be included in 2021 edition. -pub use core::convert::{TryFrom, TryInto}; pub use core::prelude::v1::*; diff --git a/proto/src/prelude.rs b/proto/src/prelude.rs index aa9a20b65..6d57c28e6 100644 --- a/proto/src/prelude.rs +++ b/proto/src/prelude.rs @@ -2,10 +2,8 @@ // https://doc.rust-lang.org/src/alloc/prelude/v1.rs.html pub use alloc::{ borrow::ToOwned, - boxed::Box, format, string::{String, ToString}, - vec, vec::Vec, }; pub use core::prelude::v1::*;