From 6bed5a0baa8cac529f4255f62e52c6c73939bf6c Mon Sep 17 00:00:00 2001 From: Henry Schimke Date: Fri, 27 Jan 2023 15:26:23 -0600 Subject: [PATCH] remove useless lifetime for Circle --- src/maxicode/detector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maxicode/detector.rs b/src/maxicode/detector.rs index 105281b..33c7147 100644 --- a/src/maxicode/detector.rs +++ b/src/maxicode/detector.rs @@ -36,7 +36,7 @@ struct Circle<'a> { image: &'a BitMatrix, } -impl<'a> Circle<'_> { +impl Circle<'_> { pub fn calculate_circle_variance(&self) -> f32 { let total_width_even = self .horizontal_buckets