mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Stop calling deref() and deref_mut() explicitly.
This commit is contained in:
parent
ee4c56bd8b
commit
13c7cf928a
14 changed files with 56 additions and 57 deletions
|
@ -634,7 +634,7 @@ impl<'a, T: Reflectable> JSRef<'a, T> {
|
|||
|
||||
impl<'a, T: Reflectable> Reflectable for JSRef<'a, T> {
|
||||
fn reflector<'a>(&'a self) -> &'a Reflector {
|
||||
self.deref().reflector()
|
||||
(**self).reflector()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue