mirror of
https://github.com/servo/servo.git
synced 2025-08-26 23:58:20 +01:00
Auto merge of #11192 - perlun:remove-unused-imports, r=Manishearth
Removed unused imports - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11185 - [X] These changes do not require tests because it only removes dead code. ---- This fixes #11185. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11192) <!-- Reviewable:end -->
This commit is contained in:
commit
2c674d0397
69 changed files with 33 additions and 98 deletions
|
@ -1368,7 +1368,7 @@ pub fn cascade<C: ComputedValues>(
|
|||
cached_style: Option<<&C>,
|
||||
mut error_reporter: StdBox<ParseErrorReporter + Send>)
|
||||
-> (C, bool) {
|
||||
use properties::style_struct_traits::{Border, Box, Color, Font, Outline};
|
||||
use properties::style_struct_traits::{Border, Box, Font, Outline};
|
||||
let initial_values = C::initial_values();
|
||||
let (is_root_element, inherited_style) = match parent_style {
|
||||
Some(parent_style) => (false, parent_style),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue