Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdplm committed Dec 15, 2019
1 parent 83c139a commit 28f46f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions parity-util-mem/src/malloc_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ where

impl<T: MallocSizeOf> MallocSizeOf for [T] {
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize {
println!("[T] IMPL");
let mut n = 0;
for elem in self.iter() {
n += elem.size_of(ops);
Expand All @@ -356,7 +355,6 @@ impl<T: MallocSizeOf> MallocSizeOf for [T] {
impl<T: MallocSizeOf> MallocSizeOf for Vec<T> {
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize {
let mut n = self.shallow_size_of(ops);
println!("VEC IMPL, shallow size: {:?}", n);
for elem in self.iter() {
n += elem.size_of(ops);
}
Expand Down

0 comments on commit 28f46f2

Please sign in to comment.