File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,6 @@ missing_const_for_fn = { level = "allow", priority = 1 }
159
159
nonstandard_macro_braces = { level = " allow" , priority = 1 }
160
160
option_if_let_else = { level = " allow" , priority = 1 }
161
161
redundant_clone = { level = " allow" , priority = 1 }
162
- redundant_pub_crate = { level = " allow" , priority = 1 }
163
162
suboptimal_flops = { level = " allow" , priority = 1 }
164
163
suspicious_operation_groupings = { level = " allow" , priority = 1 }
165
164
use_self = { level = " allow" , priority = 1 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ mod tests {
11
11
use quickcheck:: { Arbitrary , Gen } ;
12
12
use std:: collections:: HashMap ;
13
13
14
- pub ( crate ) fn assert_permutations ( original : & [ i32 ] , permutations : & [ Vec < i32 > ] ) {
14
+ pub fn assert_permutations ( original : & [ i32 ] , permutations : & [ Vec < i32 > ] ) {
15
15
if original. is_empty ( ) {
16
16
assert_eq ! ( vec![ vec![ ] as Vec <i32 >] , permutations) ;
17
17
return ;
@@ -23,7 +23,7 @@ mod tests {
23
23
}
24
24
}
25
25
26
- pub ( crate ) fn assert_valid_permutation ( original : & [ i32 ] , permuted : & [ i32 ] ) {
26
+ pub fn assert_valid_permutation ( original : & [ i32 ] , permuted : & [ i32 ] ) {
27
27
assert_eq ! ( original. len( ) , permuted. len( ) ) ;
28
28
let mut indices = HashMap :: with_capacity ( original. len ( ) ) ;
29
29
for value in original {
@@ -78,7 +78,7 @@ mod tests {
78
78
/// A Data Structure for testing permutations
79
79
/// Holds a Vec<i32> with just a few items, so that it's not too long to compute permutations
80
80
#[ derive( Debug , Clone ) ]
81
- pub ( crate ) struct NotTooBigVec {
81
+ pub struct NotTooBigVec {
82
82
pub ( crate ) inner : Vec < i32 > , // opaque type alias so that we can implement Arbitrary
83
83
}
84
84
You can’t perform that action at this time.
0 commit comments