Skip to content

Commit

Permalink
reposition imports
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Sep 20, 2024
1 parent 5dc6dfd commit 86cac53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion crates/usvg/src/parser/svgtree/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@

use std::collections::HashMap;

use super::{AId, Attribute, Document, EId, NodeData, NodeId, NodeKind, ShortRange};
use roxmltree::Error;
use simplecss::Declaration;
use svgtypes::FontShorthand;

use super::{AId, Attribute, Document, EId, NodeData, NodeId, NodeKind, ShortRange};

const SVG_NS: &str = "http://www.w3.org/2000/svg";
const XLINK_NS: &str = "http://www.w3.org/1999/xlink";
const XML_NAMESPACE_NS: &str = "http://www.w3.org/XML/1998/namespace";
Expand Down
3 changes: 2 additions & 1 deletion crates/usvg/src/parser/svgtree/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

#![allow(clippy::comparison_chain)]

use super::{AId, Document, EId, NodeId, NodeKind, SvgNode};
use roxmltree::Error;

use super::{AId, Document, EId, NodeId, NodeKind, SvgNode};

const XLINK_NS: &str = "http://www.w3.org/1999/xlink";

pub(crate) fn parse_svg_text_element<'input>(
Expand Down

0 comments on commit 86cac53

Please sign in to comment.