diff --git a/src/handlers/camera.rs b/src/handlers/camera.rs index 2fd6601..a3c3481 100644 --- a/src/handlers/camera.rs +++ b/src/handlers/camera.rs @@ -164,7 +164,6 @@ impl fmt::Display for CameraError { } } -#[allow(dead_code)] #[derive(Debug)] pub struct Ims100BatchHandler { id: UniqueApidTargetId, @@ -175,7 +174,6 @@ pub struct Ims100BatchHandler { } #[allow(non_snake_case)] -#[allow(dead_code)] impl Ims100BatchHandler { pub fn new( id: UniqueApidTargetId, @@ -306,6 +304,7 @@ impl Ims100BatchHandler { Ok(output) } + #[allow(dead_code)] pub fn list_current_images(&self) -> Result, CameraError> { let output = Command::new("ls").arg("-l").arg("*.png").output()?; @@ -319,6 +318,7 @@ impl Ims100BatchHandler { } #[allow(clippy::too_many_arguments)] + #[allow(dead_code)] pub fn take_picture_from_str( &mut self, R: &str,