Skip to content

Commit

Permalink
Surround a function call with backticks
Browse files Browse the repository at this point in the history
Co-authored-by: Kirill Mikhailov <[email protected]>
  • Loading branch information
okhsunrog and playfulFence authored Nov 28, 2024
1 parent e595191 commit b3f7092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-alloc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ unsafe impl GlobalAlloc for EspHeap {
{
let mut internal_heap_stats = self.internal_heap_stats.borrow_ref_mut(cs);
drop(regions);
// We need to call used because [linked_list_allocator::Heap] does internal size
// We need to call `used()` because [linked_list_allocator::Heap] does internal size
// alignment so we cannot use the size provided by the layout.
internal_heap_stats.total_freed += before - self.used();
}
Expand Down

0 comments on commit b3f7092

Please sign in to comment.