Skip to content

Commit

Permalink
chore: fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Sep 6, 2022
1 parent e6945b0 commit 72d9f1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/badge.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#[derive(std::fmt::Debug, std::cmp::PartialEq)]
use std::cmp::{Eq, PartialEq};
use std::fmt::Debug;

#[derive(Debug, Eq, PartialEq)]
pub enum BadgeStyle {
Flat,
FlatSquare,
Expand Down
5 changes: 4 additions & 1 deletion src/graphics/raster.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
use std::cmp::{Eq, PartialEq};
use std::fmt::Debug;

use super::{SvgProcessor, INVALID_SVG};
use crate::badge::BadgeStyle;

Expand All @@ -9,7 +12,7 @@ use gio::{MemoryInputStream, NONE_CANCELLABLE, NONE_FILE};
use glib::Bytes;
use librsvg::IntrinsicDimensions;

#[derive(std::fmt::Debug, std::cmp::PartialEq)]
#[derive(Debug, Eq, PartialEq)]
pub enum SvgToPngConversionError {
ImageContextCreationFailure,
ImageSurfaceCreationFailure,
Expand Down

0 comments on commit 72d9f1b

Please sign in to comment.