mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
remove useless lifetime for Circle
This commit is contained in:
@@ -36,7 +36,7 @@ struct Circle<'a> {
|
|||||||
image: &'a BitMatrix,
|
image: &'a BitMatrix,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Circle<'_> {
|
impl Circle<'_> {
|
||||||
pub fn calculate_circle_variance(&self) -> f32 {
|
pub fn calculate_circle_variance(&self) -> f32 {
|
||||||
let total_width_even = self
|
let total_width_even = self
|
||||||
.horizontal_buckets
|
.horizontal_buckets
|
||||||
|
|||||||
Reference in New Issue
Block a user