From b4bf834c394741922b295b2d10634f1848193243 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 28 Apr 2024 12:45:01 +0200 Subject: [PATCH] minor tweak --- src/handlers/camera.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,