mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Indent properly a couple more functions.
This commit is contained in:
parent
a6c6ef91e0
commit
13f61a6e5f
5 changed files with 46 additions and 31 deletions
|
@ -384,8 +384,9 @@ impl fmt::Display for TraversalStatistics {
|
|||
impl TraversalStatistics {
|
||||
/// Computes the traversal time given the start time in seconds.
|
||||
pub fn finish<E, D>(&mut self, traversal: &D, parallel: bool, start: f64)
|
||||
where E: TElement,
|
||||
D: DomTraversal<E>,
|
||||
where
|
||||
E: TElement,
|
||||
D: DomTraversal<E>,
|
||||
{
|
||||
let threshold = traversal.shared_context().options.style_statistics_threshold;
|
||||
let stylist = traversal.shared_context().stylist;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue