mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fixed the .clone() warnings. (#31819)
This commit is contained in:
parent
95e69fe4ff
commit
9b26dca141
28 changed files with 76 additions and 93 deletions
|
@ -310,7 +310,7 @@ pub fn get_descriptor_permission_state(
|
|||
.borrow()
|
||||
.get(&permission_name.to_string())
|
||||
{
|
||||
return prev_result.clone();
|
||||
return *prev_result;
|
||||
}
|
||||
|
||||
// Store the invocation result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue