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
|
@ -109,7 +109,7 @@ impl PerformanceNavigationTimingMethods for PerformanceNavigationTiming {
|
|||
|
||||
// https://w3c.github.io/navigation-timing/#dom-performancenavigationtiming-type
|
||||
fn Type(&self) -> NavigationType {
|
||||
self.nav_type.clone()
|
||||
self.nav_type
|
||||
}
|
||||
|
||||
// https://w3c.github.io/navigation-timing/#dom-performancenavigationtiming-redirectcount
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue