Auto merge of #8304 - dzbarsky:borrowck, r=Ms2ger

Cleanup some unneeded let bindings

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8304)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-07 01:31:40 +05:30
commit 69e6eb4d91
4 changed files with 12 additions and 21 deletions

View file

@ -1195,9 +1195,7 @@ impl Window {
browsing_context.frame_element().map(|frame_element| {
let window = window_from_node(frame_element);
// FIXME(https://github.com/rust-lang/rust/issues/23338)
let r = window.r();
let context = r.browsing_context();
let context = window.browsing_context();
Root::from_ref(context.unwrap().active_window())
})
}