File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,10 +161,10 @@ mod tests {
161161 let item0 = ListStore :: new ( ListStore :: static_type ( ) ) ;
162162 let item1 = ListStore :: new ( ListStore :: static_type ( ) ) ;
163163 let mut list = ListStore :: new ( ListStore :: static_type ( ) ) ;
164- list. extend ( & [ & item0, & item1] ) ;
164+ list. extend ( [ & item0, & item1] ) ;
165165 assert_eq ! ( list. item( 0 ) . as_ref( ) , Some ( item0. upcast_ref( ) ) ) ;
166166 assert_eq ! ( list. item( 1 ) . as_ref( ) , Some ( item1. upcast_ref( ) ) ) ;
167- list. extend ( & [ item0. clone ( ) , item1. clone ( ) ] ) ;
167+ list. extend ( [ item0. clone ( ) , item1. clone ( ) ] ) ;
168168 assert_eq ! ( list. item( 2 ) . as_ref( ) , Some ( item0. upcast_ref( ) ) ) ;
169169 assert_eq ! ( list. item( 3 ) . as_ref( ) , Some ( item1. upcast_ref( ) ) ) ;
170170
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ mod test {
180180 fn set_env ( ) {
181181 INIT . call_once ( || {
182182 let output = Command :: new ( "glib-compile-schemas" )
183- . args ( & [
183+ . args ( [
184184 & format ! ( "{}/tests" , env!( "CARGO_MANIFEST_DIR" ) ) ,
185185 "--targetdir" ,
186186 env ! ( "OUT_DIR" ) ,
You can’t perform that action at this time.
0 commit comments