diff options
author | Keegan McAllister <mcallister.keegan@gmail.com> | 2014-09-20 15:35:08 -0700 |
---|---|---|
committer | Keegan McAllister <mcallister.keegan@gmail.com> | 2014-09-20 15:35:08 -0700 |
commit | 045328c8e94f5bdfcd67105c5dfa9209f4cd501c (patch) | |
tree | 1d5f8d958e12ae59e0ac720a7873e3c3b08cb1e8 /components/layout/layout_debug.rs | |
parent | d6ba37c68c34a3748a789caeca225083275757e5 (diff) | |
parent | a40b94d7f946d75e1a66af206efda9879b89c707 (diff) | |
download | servo-045328c8e94f5bdfcd67105c5dfa9209f4cd501c.tar.gz servo-045328c8e94f5bdfcd67105c5dfa9209f4cd501c.zip |
Merge pull request #3438 from servo/rustup
Upgrade Rust
Diffstat (limited to 'components/layout/layout_debug.rs')
-rw-r--r-- | components/layout/layout_debug.rs | 2 |
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 => {} |