File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 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() {
10981098
10991099#[ test]
11001100fn owned_array_discontiguous ( ) {
1101- use :: std:: iter:: repeat;
1101+ use std:: iter:: repeat;
11021102 let v: Vec < _ > = ( 0 ..12 ) . flat_map ( |x| repeat ( x) . take ( 2 ) ) . collect ( ) ;
11031103 let dim = ( 3 , 2 , 2 ) ;
11041104 let strides = ( 8 , 4 , 2 ) ;
@@ -1111,9 +1111,9 @@ fn owned_array_discontiguous() {
11111111
11121112#[ test]
11131113fn 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 ;
11171117
11181118 struct InsertOnDrop < T : Ord > ( Rc < RefCell < BTreeSet < T > > > , Option < T > ) ;
11191119 impl < T : Ord > Drop for InsertOnDrop < T > {
@@ -1963,6 +1963,7 @@ fn test_accumulate_axis_inplace_noop() {
19631963 assert_eq ! ( a, Array2 :: zeros( ( 3 , 1 ) ) ) ;
19641964}
19651965
1966+ #[ rustfmt:: skip] // Allow block array formatting
19661967#[ test]
19671968fn test_accumulate_axis_inplace_nonstandard_layout ( ) {
19681969 let a = arr2 ( & [ [ 1 , 2 , 3 ] ,
You can’t perform that action at this time.
0 commit comments