chore: Avoid importing types redundantly.

`TryFrom` and `TryInto` are imported redundantly. They are already
defined in `core::prelude::rust_2021` which is automatically imported.
This is generating warnings on my side. This patch fixes that.
This commit is contained in:
Ivan Enderlin
2024-03-21 09:14:56 +01:00
parent c120da79d1
commit 5d5a3044c8
3 changed files with 1 additions and 6 deletions

View File

@@ -14,7 +14,6 @@
use std::{
collections::{BTreeMap, HashMap},
convert::{TryFrom, TryInto},
ops::Deref,
sync::{
atomic::{AtomicBool, Ordering},

View File

@@ -12,10 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use std::{
collections::BTreeMap,
convert::{TryFrom, TryInto},
};
use std::collections::BTreeMap;
use as_variant::as_variant;
use ruma::{

View File

@@ -14,7 +14,6 @@
use std::{
collections::HashMap,
convert::{TryFrom, TryInto},
sync::{Arc, RwLock as StdRwLock},
};