This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve prelude redundant import warnings
warning: the item `FromIterator` is imported redundantly --> src/mapping.rs:10:5 | 10 | use std::iter::FromIterator; | ^^^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:129:13 | 129 | pub use core::prelude::rust_2021::*; | ------------------------ the item `FromIterator` is already defined here | = note: `#[warn(unused_imports)]` on by default warning: the item `FromIterator` is imported redundantly --> src/value/from.rs:148:5 | 148 | use std::iter::FromIterator; | ^^^^^^^^^^^^^^^^^^^^^^^ | ::: nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:129:13 | 129 | pub use core::prelude::rust_2021::*; | ------------------------ the item `FromIterator` is already defined here
- Loading branch information