mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Remove redundant .clone()
s
This commit is contained in:
parent
eeaca0b26d
commit
c44a2febe6
19 changed files with 31 additions and 35 deletions
|
@ -40,7 +40,7 @@ pub struct CacheKey {
|
|||
impl CacheKey {
|
||||
fn new(request: Request) -> CacheKey {
|
||||
CacheKey {
|
||||
url: request.current_url().clone(),
|
||||
url: request.current_url(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue