mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
Cargo clippy --all-features
This commit is contained in:
@@ -846,7 +846,7 @@ impl RXingResultList {
|
||||
result
|
||||
}
|
||||
|
||||
fn internal_static_get_size(version: VersionRef, list: &Vec<RXingResultNode>) -> u32 {
|
||||
fn internal_static_get_size(version: VersionRef, list: &[RXingResultNode]) -> u32 {
|
||||
let result = list.iter().fold(0, |acc, node| acc + node.getSize(version));
|
||||
result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user