Remove ToOwned from prelude
We are not using the `ToOwned` trait, remove it. Found by clippy.
This commit is contained in:
parent
ada8c53ce2
commit
ae07bdbdbc
|
@ -40,8 +40,8 @@ pub use self::amount::{Amount, ParseAmountError, SignedAmount};
|
||||||
#[rustfmt::skip]
|
#[rustfmt::skip]
|
||||||
mod prelude {
|
mod prelude {
|
||||||
#[cfg(all(feature = "alloc", not(feature = "std"), not(test)))]
|
#[cfg(all(feature = "alloc", not(feature = "std"), not(test)))]
|
||||||
pub use alloc::{string::{String, ToString}, borrow::ToOwned};
|
pub use alloc::string::{String, ToString};
|
||||||
|
|
||||||
#[cfg(any(feature = "std", test))]
|
#[cfg(any(feature = "std", test))]
|
||||||
pub use std::{string::{String, ToString}, borrow::ToOwned};
|
pub use std::string::{String, ToString};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue