Skip to content

Commit b38b80c

Browse files
committed
Fix style
1 parent 50fd82a commit b38b80c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/mmtk.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -529,9 +529,9 @@ impl<VM: VMBinding> MMTK<VM> {
529529
})
530530
}
531531

532-
/// Aggregate a hash map of live bytes per space with the space stats to produce
533-
/// a map of [`crate::liveByteStats`] for the spaces.
534532
#[cfg(feature = "count_live_bytes_in_gc")]
533+
/// Aggregate a hash map of live bytes per space with the space stats to produce
534+
/// a map of live bytes stats for the spaces.
535535
pub(crate) fn aggregate_live_bytes_in_last_gc(
536536
&self,
537537
live_bytes_per_space: HashMap<&'static str, usize>,
@@ -556,6 +556,6 @@ impl<VM: VMBinding> MMTK<VM> {
556556
});
557557
}
558558
});
559-
return ret;
559+
ret
560560
}
561561
}

src/scheduler/worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,6 @@ impl<VM: VMBinding> WorkerGroup<VM> {
460460
}
461461
live_bytes_per_space.clear();
462462
});
463-
return ret;
463+
ret
464464
}
465465
}

0 commit comments

Comments
 (0)