Skip to content

Commit

Permalink
Fix clippy 1.43 errors. (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom authored Apr 24, 2020
1 parent 0b9d918 commit 7be2f46
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion druid/src/box_constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
//! The fundamental druid types.
use crate::kurbo::Size;
use log;

/// Constraints for layout.
///
Expand Down
2 changes: 0 additions & 2 deletions druid/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
use std::collections::VecDeque;

use log;

use crate::bloom::Bloom;
use crate::kurbo::{Affine, Insets, Point, Rect, Shape, Size, Vec2};
use crate::piet::RenderContext;
Expand Down
1 change: 0 additions & 1 deletion druid/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ use std::cell::Cell;
use std::env;
use std::fs;
use std::rc::Rc;
use tempfile;

use crate::widget::*;
use crate::*;
Expand Down
2 changes: 0 additions & 2 deletions druid/src/widget/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ use std::convert::AsRef;
use std::error::Error;
use std::path::Path;

use image;

use crate::{
piet::{ImageFormat, InterpolationMode},
widget::common::FillStrat,
Expand Down
2 changes: 0 additions & 2 deletions druid/src/widget/svg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ use std::sync::Arc;

use log::error;

use usvg;

use crate::{
kurbo::BezPath, widget::common::FillStrat, Affine, BoxConstraints, Color, Data, Env, Event,
EventCtx, LayoutCtx, LifeCycle, LifeCycleCtx, PaintCtx, Rect, RenderContext, Size, UpdateCtx,
Expand Down

0 comments on commit 7be2f46

Please sign in to comment.