Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharktheone committed Sep 11, 2024
1 parent 93a56ad commit 7cb4a6e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions crates/gosub_styling/src/render_tree.rs
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
use std::collections::HashMap;
use std::fmt::{Debug, Formatter};

use crate::property_definitions::get_css_definitions;
use crate::shorthands::FixList;
use crate::styling::{
match_selector, prop_is_inherit, CssProperties, CssProperty, DeclarationProperty,
};
use log::warn;

use gosub_css3::stylesheet::{
CssDeclaration, CssOrigin, CssSelector, CssStylesheet, CssValue, Specificity,
};
use gosub_css3::stylesheet::{CssDeclaration, CssOrigin, CssStylesheet, CssValue, Specificity};
use gosub_html5::node::data::element::ElementData;
use gosub_html5::node::{NodeData, NodeId};
use gosub_html5::parser::document::{DocumentHandle, TreeIterator};
use gosub_render_backend::geo::Size;
use gosub_render_backend::layout::{HasTextLayout, Layout, LayoutTree, Layouter, Node, TextLayout};
use gosub_shared::types::Result;

use crate::property_definitions::get_css_definitions;
use crate::shorthands::FixList;
use crate::styling::{
match_selector, prop_is_inherit, CssProperties, CssProperty, DeclarationProperty,
};

mod desc;

const INLINE_ELEMENTS: [&str; 31] = [
Expand Down

0 comments on commit 7cb4a6e

Please sign in to comment.