File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -299,14 +299,14 @@ struct LibrarySegment {
299
299
}
300
300
301
301
#[ cfg( target_os = "aix" ) ]
302
- fn create_map ( lib : & Library ) -> Option < Mapping > {
302
+ fn create_mapping ( lib : & Library ) -> Option < Mapping > {
303
303
let name = & lib. name ;
304
304
let member_name = & lib. member_name ;
305
305
Mapping :: new ( name. as_ref ( ) , member_name)
306
306
}
307
307
308
308
#[ cfg( not( target_os = "aix" ) ) ]
309
- fn create_map ( lib : & Library ) -> Option < Mapping > {
309
+ fn create_mapping ( lib : & Library ) -> Option < Mapping > {
310
310
let name = & lib. name ;
311
311
Mapping :: new ( name. as_ref ( ) )
312
312
}
@@ -391,7 +391,7 @@ impl Cache {
391
391
// When the mapping is not in the cache, create a new mapping,
392
392
// insert it into the front of the cache, and evict the oldest cache
393
393
// entry if necessary.
394
- let mapping = create_map ( & self . libraries [ lib] ) ?;
394
+ let mapping = create_mapping ( & self . libraries [ lib] ) ?;
395
395
396
396
if self . mappings . len ( ) == MAPPINGS_CACHE_SIZE {
397
397
self . mappings . pop ( ) ;
You can’t perform that action at this time.
0 commit comments