diff options
author | Adenilson Cavalcanti <cavalcantii@gmail.com> | 2015-02-20 16:52:18 -0800 |
---|---|---|
committer | Adenilson Cavalcanti <cavalcantii@gmail.com> | 2015-02-20 16:52:18 -0800 |
commit | 8a1e81a9aed910af09b220d423b147e4379fb4d8 (patch) | |
tree | 73b796e2a339c745ba3475b5c84bb3815065dbed /components/layout/flow.rs | |
parent | e39e75865bdcef639b47a6a448a84cf2ca4894cf (diff) | |
download | servo-8a1e81a9aed910af09b220d423b147e4379fb4d8.tar.gz servo-8a1e81a9aed910af09b220d423b147e4379fb4d8.zip |
Actually print the contents of Flow Tree into console.
When executing servo with proper flags (i.e. --debug dump-flow-tree),
it should print the flow tree. We had the code, but it was commented.
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r-- | components/layout/flow.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs index a4f66437626..c8339b52762 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -1133,8 +1133,7 @@ impl<'a> ImmutableFlowUtils for &'a (Flow + 'a) { indent.push_str("| ") } - // TODO: ICE, already fixed in rustc. - //println!("{}+ {:?}", indent, self); + println!("{}+ {:?}", indent, self); for kid in imm_child_iter(self) { kid.dump_with_level(level + 1) |