mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Cleanup some unneeded let bindings
This commit is contained in:
parent
9fea6d2e46
commit
dfc90db1d7
4 changed files with 12 additions and 21 deletions
|
@ -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],) -> () {{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue