@@ -16,13 +16,13 @@ fn main_0() -> i32 {
1616 if !( * p. borrow ( ) ) . is_null ( ) {
1717 assert ! ( true ) ;
1818 }
19- if ( !( !( * p. borrow ( ) ) . is_null ( ) ) as bool ) {
19+ if !( !( * p. borrow ( ) ) . is_null ( ) ) {
2020 assert ! ( false ) ;
2121 }
2222 if !( * np. borrow ( ) ) . is_null ( ) {
2323 assert ! ( false ) ;
2424 }
25- if ( !( !( * np. borrow ( ) ) . is_null ( ) ) as bool ) {
25+ if !( !( * np. borrow ( ) ) . is_null ( ) ) {
2626 assert ! ( true ) ;
2727 }
2828 let iter: Value < Ptr < i32 > > = Rc :: new ( RefCell :: new ( ( * p. borrow ( ) ) . clone ( ) ) ) ;
@@ -36,15 +36,13 @@ fn main_0() -> i32 {
3636 assert ! ( ( ( * t3. borrow( ) ) == 1 ) ) ;
3737 let t4: Value < i32 > = Rc :: new ( RefCell :: new ( if !( * np. borrow ( ) ) . is_null ( ) { 1 } else { 0 } ) ) ;
3838 assert ! ( ( ( * t4. borrow( ) ) == 0 ) ) ;
39- let t5: Value < i32 > = Rc :: new ( RefCell :: new ( ( ( !( !( * p. borrow ( ) ) . is_null ( ) ) as bool ) as i32 ) ) ) ;
39+ let t5: Value < i32 > = Rc :: new ( RefCell :: new ( ( !( !( * p. borrow ( ) ) . is_null ( ) ) as i32 ) ) ) ;
4040 assert ! ( ( ( * t5. borrow( ) ) == 0 ) ) ;
41- let t6: Value < i32 > = Rc :: new ( RefCell :: new (
42- ( ( !( !( * np. borrow ( ) ) . is_null ( ) ) as bool ) as i32 ) ,
43- ) ) ;
41+ let t6: Value < i32 > = Rc :: new ( RefCell :: new ( ( !( !( * np. borrow ( ) ) . is_null ( ) ) as i32 ) ) ) ;
4442 assert ! ( ( ( * t6. borrow( ) ) == 1 ) ) ;
4543 let b2: Value < bool > = Rc :: new ( RefCell :: new ( ( !( * p. borrow ( ) ) . is_null ( ) ) . clone ( ) ) ) ;
4644 let b3: Value < bool > = Rc :: new ( RefCell :: new ( ( !( * np. borrow ( ) ) . is_null ( ) ) . clone ( ) ) ) ;
4745 assert ! ( ( * b2. borrow( ) ) ) ;
48- assert ! ( ( !( * b3. borrow( ) ) as bool ) ) ;
46+ assert ! ( !( * b3. borrow( ) ) ) ;
4947 return 0 ;
5048}
0 commit comments