summaryrefslogtreecommitdiffstats
path: root/svgbob/src/util.rs
diff options
context:
space:
mode:
authorJovansonlee Cesar <ivanceras@gmail.com>2020-11-25 23:45:55 +0800
committerJovansonlee Cesar <ivanceras@gmail.com>2020-11-25 23:45:55 +0800
commit2bf94a2eddff2215b5f43e21658502c98d945941 (patch)
tree4bfca9a2f02546666d9b0e2386b937a7ca2296b6 /svgbob/src/util.rs
parent9801decfb1b58c2f06756cafa9fd94b75fcbfdc9 (diff)
Remove warnings
Diffstat (limited to 'svgbob/src/util.rs')
-rw-r--r--svgbob/src/util.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/svgbob/src/util.rs b/svgbob/src/util.rs
index 2a50fab..a822be6 100644
--- a/svgbob/src/util.rs
+++ b/svgbob/src/util.rs
@@ -1,4 +1,4 @@
-use crate::{fragment::Line, Point};
+use crate::{Point};
use ncollide2d::{
bounding_volume::AABB, math::Isometry, query::point_internal::point_query::PointQuery,
};
@@ -82,8 +82,8 @@ pub fn pad(v: f32) -> f32 {
/// this is parser module which provides parsing for identifier for
/// extracting the css tag of inside of a shape fragment
pub mod parser {
- use crate::Cell;
- use pom::parser::{call, end, is_a, list, none_of, one_of, sym, tag, Parser};
+
+ use pom::parser::{is_a, list, none_of, one_of, sym, tag, Parser};
use std::iter::FromIterator;
/// Parses a list with the defined separator, but will fail early when one of the
@@ -119,7 +119,7 @@ pub mod parser {
}
}
}
- Err(e) => {
+ Err(_e) => {
// the separator does not match, just break
break;
}