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 }
159159nonstandard_macro_braces = { level = " allow" , priority = 1 }
160160option_if_let_else = { level = " allow" , priority = 1 }
161161redundant_clone = { level = " allow" , priority = 1 }
162- redundant_pub_crate = { level = " allow" , priority = 1 }
163162suboptimal_flops = { level = " allow" , priority = 1 }
164163suspicious_operation_groupings = { level = " allow" , priority = 1 }
165164use_self = { level = " allow" , priority = 1 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ mod tests {
1111 use quickcheck:: { Arbitrary , Gen } ;
1212 use std:: collections:: HashMap ;
1313
14- pub ( crate ) fn assert_permutations ( original : & [ i32 ] , permutations : & [ Vec < i32 > ] ) {
14+ pub fn assert_permutations ( original : & [ i32 ] , permutations : & [ Vec < i32 > ] ) {
1515 if original. is_empty ( ) {
1616 assert_eq ! ( vec![ vec![ ] as Vec <i32 >] , permutations) ;
1717 return ;
@@ -23,7 +23,7 @@ mod tests {
2323 }
2424 }
2525
26- pub ( crate ) fn assert_valid_permutation ( original : & [ i32 ] , permuted : & [ i32 ] ) {
26+ pub fn assert_valid_permutation ( original : & [ i32 ] , permuted : & [ i32 ] ) {
2727 assert_eq ! ( original. len( ) , permuted. len( ) ) ;
2828 let mut indices = HashMap :: with_capacity ( original. len ( ) ) ;
2929 for value in original {
@@ -78,7 +78,7 @@ mod tests {
7878 /// A Data Structure for testing permutations
7979 /// Holds a Vec<i32> with just a few items, so that it's not too long to compute permutations
8080 #[ derive( Debug , Clone ) ]
81- pub ( crate ) struct NotTooBigVec {
81+ pub struct NotTooBigVec {
8282 pub ( crate ) inner : Vec < i32 > , // opaque type alias so that we can implement Arbitrary
8383 }
8484
You can’t perform that action at this time.
0 commit comments