File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1098,7 +1098,7 @@ fn owned_array_with_stride() {
1098
1098
1099
1099
#[ test]
1100
1100
fn owned_array_discontiguous ( ) {
1101
- use :: std:: iter:: repeat;
1101
+ use std:: iter:: repeat;
1102
1102
let v: Vec < _ > = ( 0 ..12 ) . flat_map ( |x| repeat ( x) . take ( 2 ) ) . collect ( ) ;
1103
1103
let dim = ( 3 , 2 , 2 ) ;
1104
1104
let strides = ( 8 , 4 , 2 ) ;
@@ -1111,9 +1111,9 @@ fn owned_array_discontiguous() {
1111
1111
1112
1112
#[ test]
1113
1113
fn owned_array_discontiguous_drop ( ) {
1114
- use :: std:: cell:: RefCell ;
1115
- use :: std:: collections:: BTreeSet ;
1116
- use :: std:: rc:: Rc ;
1114
+ use std:: cell:: RefCell ;
1115
+ use std:: collections:: BTreeSet ;
1116
+ use std:: rc:: Rc ;
1117
1117
1118
1118
struct InsertOnDrop < T : Ord > ( Rc < RefCell < BTreeSet < T > > > , Option < T > ) ;
1119
1119
impl < T : Ord > Drop for InsertOnDrop < T > {
@@ -1963,6 +1963,7 @@ fn test_accumulate_axis_inplace_noop() {
1963
1963
assert_eq ! ( a, Array2 :: zeros( ( 3 , 1 ) ) ) ;
1964
1964
}
1965
1965
1966
+ #[ rustfmt:: skip] // Allow block array formatting
1966
1967
#[ test]
1967
1968
fn test_accumulate_axis_inplace_nonstandard_layout ( ) {
1968
1969
let a = arr2 ( & [ [ 1 , 2 , 3 ] ,
You can’t perform that action at this time.
0 commit comments