mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
clippy: Fix needless borrow warnings (#31813)
This commit is contained in:
parent
694e86ecff
commit
3e63f8d6ee
42 changed files with 151 additions and 157 deletions
|
@ -145,7 +145,7 @@ unsafe fn html_constructor(
|
|||
|
||||
// Step 6
|
||||
rooted!(in(*cx) let mut prototype = ptr::null_mut::<JSObject>());
|
||||
get_desired_proto(cx, &call_args, proto_id, creator, prototype.handle_mut())?;
|
||||
get_desired_proto(cx, call_args, proto_id, creator, prototype.handle_mut())?;
|
||||
|
||||
let entry = definition.construction_stack.borrow().last().cloned();
|
||||
let result = match entry {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue