aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_debug.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-09-18 16:29:46 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2014-09-20 13:00:55 -0700
commitdc86e8365495acc87b983a290bb7277a37a5247f (patch)
tree36af9677f6a24d7163e4b41c2b8e53da4d15538c /components/layout/layout_debug.rs
parent2f46b9aedefae7938102f7a1ccc6c96044cf1bdb (diff)
downloadservo-dc86e8365495acc87b983a290bb7277a37a5247f.tar.gz
servo-dc86e8365495acc87b983a290bb7277a37a5247f.zip
Eliminate warnings
Diffstat (limited to 'components/layout/layout_debug.rs')
-rw-r--r--components/layout/layout_debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_debug.rs b/components/layout/layout_debug.rs
index 58db599c9e2..1c998e2bc4a 100644
--- a/components/layout/layout_debug.rs
+++ b/components/layout/layout_debug.rs
@@ -81,7 +81,7 @@ impl Drop for Scope {
let mut state = refcell.borrow_mut();
let mut current_scope = state.scope_stack.pop().unwrap();
current_scope.post = json::encode(&state.flow_root.get());
- let previous_scope = state.scope_stack.mut_last().unwrap();
+ let previous_scope = state.scope_stack.last_mut().unwrap();
previous_scope.children.push(current_scope);
}
None => {}