From 65d2e8ff99190232f6c71252a52552884296de0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 15 Jul 2017 19:14:54 +0200 Subject: [PATCH] style: Remove unused ElementStyles::styles_and_restyle_mut. --- components/style/data.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/components/style/data.rs b/components/style/data.rs index d7b169deeb7..658c7a42a5d 100644 --- a/components/style/data.rs +++ b/components/style/data.rs @@ -228,14 +228,6 @@ pub enum RestyleKind { } impl ElementData { - /// Borrows both styles and restyle mutably at the same time. - pub fn styles_and_restyle_mut( - &mut self - ) -> (&mut ElementStyles, &mut RestyleData) { - (&mut self.styles, - &mut self.restyle) - } - /// Invalidates style for this element, its descendants, and later siblings, /// based on the snapshot of the element that we took when attributes or /// state changed.