Remove ToOwned from prelude

We are not using the `ToOwned` trait, remove it.

Found by clippy.
This commit is contained in:
Tobin C. Harding 2023-12-12 08:55:03 +11:00
parent ada8c53ce2
commit ae07bdbdbc
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 2 deletions

View File

@ -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};
} }