mirror of
https://github.com/encounter/decomp-toolkit.git
synced 2025-12-14 07:36:25 +00:00
Rename ObjSections::count -> len
This commit is contained in:
@@ -18,7 +18,7 @@ struct VisitedAddresses {
|
||||
|
||||
impl VisitedAddresses {
|
||||
pub fn new(obj: &ObjInfo) -> Self {
|
||||
let mut inner = Vec::with_capacity(obj.sections.count());
|
||||
let mut inner = Vec::with_capacity(obj.sections.len());
|
||||
for (_, section) in obj.sections.iter() {
|
||||
if section.kind == ObjSectionKind::Code {
|
||||
let size = (section.size / 4) as usize;
|
||||
|
||||
Reference in New Issue
Block a user