Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Aug 21, 2024
1 parent c4e247f commit 0d8387a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions imageflow_tool/src/cmd_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ pub struct CmdBuild {
}

#[derive(Debug)]
#[allow(dead_code)]
pub enum CmdError {
// DemoNotFound(String),
JsonRecipeNotFound(String),
Expand Down
18 changes: 9 additions & 9 deletions imageflow_tool/src/self_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ enum OutputDestination{
// ImageMatches{dest: &'a ReplacementOutput, w: Option<u32>, h: Option<u32>, content_type: Option<&'static str>},
//
//}
trait TestScenario{
fn description() -> &'static str;
fn slug() -> &'static str;

}

trait TestExpectations{

}
// trait TestScenario{
// fn description() -> &'static str;
// fn slug() -> &'static str;
//
// }
//
// trait TestExpectations{
//
// }

struct BuildScenario{
pub description: &'static str,
Expand Down
2 changes: 1 addition & 1 deletion imageflow_tool/tests/test_tool.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[cfg_attr(feature = "cargo-clippy", allow(useless_attribute))]
//#[cfg_attr(feature = "cargo-clippy", allow(useless_attribute))]
extern crate imageflow_tool_lib;
extern crate imageflow_types as s;
use std::io::Write;
Expand Down

0 comments on commit 0d8387a

Please sign in to comment.