File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -178,25 +178,25 @@ mod tests {
178
178
let empty = PersistentListMap :: Empty ;
179
179
let map1 = vec ! [
180
180
MapEntry {
181
- key: Symbol :: intern( "a" ) . to_value ( ) ,
181
+ key: Symbol :: intern( "a" ) . to_rc_value ( ) ,
182
182
val: 15_i32 . to_rc_value( ) ,
183
183
} ,
184
184
MapEntry {
185
- key: Symbol :: intern( "b" ) . to_value ( ) ,
185
+ key: Symbol :: intern( "b" ) . to_rc_value ( ) ,
186
186
val: "stuff" . to_rc_value( ) ,
187
187
} ,
188
188
]
189
189
. into_iter ( )
190
190
. collect :: < PersistentListMap > ( ) ;
191
191
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 ( ) ) ;
193
193
println ! ( "{}" , map1) ;
194
194
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 ( ) ) ;
196
196
println ! ( "{}" , map1) ;
197
197
println ! ( "{}" , map2) ;
198
198
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 ( ) ) ;
200
200
println ! ( "{}" , map1) ;
201
201
println ! ( "{}" , map2) ;
202
202
println ! ( "{}" , map3) ;
You can’t perform that action at this time.
0 commit comments