Skip to content

Commit 9f1ba45

Browse files
committed
change import
1 parent e1e3755 commit 9f1ba45

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/rule/non_empty/non_empty_map.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
use crate::rule::{NonEmpty, NonEmptyRule};
22
use crate::Refined;
33
use std::borrow::Borrow;
4+
use std::collections::hash_map::RandomState;
45
use std::collections::hash_map::{IntoKeys, IntoValues, Keys, Values};
56
use std::collections::HashMap;
6-
use std::hash::{BuildHasher, Hash, RandomState};
7+
use std::hash::{BuildHasher, Hash};
78

89
/// `NonEmptyHashMap` is a `HashMap` that follows the `NonEmptyRule`
910
/// # Example

src/rule/non_empty/non_empty_set.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ use crate::Refined;
33
use std::borrow::Borrow;
44
use std::collections::hash_set::Difference;
55

6+
use std::collections::hash_map::RandomState;
67
use std::collections::HashSet;
7-
use std::hash::{BuildHasher, Hash, RandomState};
8+
use std::hash::{BuildHasher, Hash};
89

910
/// `NonEmptyHashSet` is a `HashSet` that follows the `NonEmptyRule`
1011
/// # Example

0 commit comments

Comments
 (0)