File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,25 +178,25 @@ mod tests {
178178 let empty = PersistentListMap :: Empty ;
179179 let map1 = vec ! [
180180 MapEntry {
181- key: Symbol :: intern( "a" ) . to_value ( ) ,
181+ key: Symbol :: intern( "a" ) . to_rc_value ( ) ,
182182 val: 15_i32 . to_rc_value( ) ,
183183 } ,
184184 MapEntry {
185- key: Symbol :: intern( "b" ) . to_value ( ) ,
185+ key: Symbol :: intern( "b" ) . to_rc_value ( ) ,
186186 val: "stuff" . to_rc_value( ) ,
187187 } ,
188188 ]
189189 . into_iter ( )
190190 . collect :: < PersistentListMap > ( ) ;
191191 println ! ( "{}" , map1) ;
192- let map2 = map1. assoc ( Symbol :: intern ( "c" ) . to_value ( ) , 100_i32 . to_rc_value ( ) ) ;
192+ let map2 = map1. assoc ( Symbol :: intern ( "c" ) . to_rc_value ( ) , 100_i32 . to_rc_value ( ) ) ;
193193 println ! ( "{}" , map1) ;
194194 println ! ( "{}" , map2) ;
195- let map3 = map1. assoc ( Symbol :: intern ( "a" ) . to_value ( ) , 100_i32 . to_rc_value ( ) ) ;
195+ let map3 = map1. assoc ( Symbol :: intern ( "a" ) . to_rc_value ( ) , 100_i32 . to_rc_value ( ) ) ;
196196 println ! ( "{}" , map1) ;
197197 println ! ( "{}" , map2) ;
198198 println ! ( "{}" , map3) ;
199- let map4 = map2. assoc ( Symbol :: intern ( "a" ) . to_value ( ) , 100_i32 . to_rc_value ( ) ) ;
199+ let map4 = map2. assoc ( Symbol :: intern ( "a" ) . to_rc_value ( ) , 100_i32 . to_rc_value ( ) ) ;
200200 println ! ( "{}" , map1) ;
201201 println ! ( "{}" , map2) ;
202202 println ! ( "{}" , map3) ;
You can’t perform that action at this time.
0 commit comments