style: Add the traversal kind to the style stats.

This commit is contained in:
Emilio Cobos Álvarez 2017-03-10 03:02:35 +01:00
parent d3e7f1f0f4
commit 58c6aad1f0
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 16 additions and 3 deletions

View file

@ -86,7 +86,7 @@ pub fn traverse_dom<E, D>(traversal: &D,
Some(ref cx) => &cx.borrow().statistics + &acc,
}
});
aggregate.compute_traversal_time(start_time.unwrap());
aggregate.finish(traversal, start_time.unwrap());
println!("{}", aggregate);
}
}