style: Fix clippy warnings

Depends on D96634

Differential Revision: https://phabricator.services.mozilla.com/D96636
This commit is contained in:
Sylvestre Ledru 2020-11-17 12:02:22 +00:00 committed by Emilio Cobos Álvarez
parent 191d5226a3
commit a95ce79554
6 changed files with 13 additions and 16 deletions

View file

@ -286,6 +286,6 @@ where
/// against.
#[inline]
pub fn shadow_host(&self) -> Option<OpaqueElement> {
self.current_host.clone()
self.current_host
}
}