Cleanup some unneeded let bindings

This commit is contained in:
David Zbarsky 2015-11-02 21:54:44 -08:00
parent 9fea6d2e46
commit dfc90db1d7
4 changed files with 12 additions and 21 deletions

View file

@ -38,9 +38,8 @@ full_cef_class_impl! {
this.browser.borrow_mut().as_mut().unwrap().send_window_event(event);
}}
fn get_url(&this,) -> cef_string_userfree_t {{
let this = this.downcast();
// FIXME(https://github.com/rust-lang/rust/issues/23338)
let url = this.url.borrow();
let url = this.downcast().url.borrow();
(*url).clone()
}}
fn get_text(&this, visitor: *mut cef_string_visitor_t [CefStringVisitor],) -> () {{