Skip to content

Commit

Permalink
chore: clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hschimke committed Dec 23, 2024
1 parent 6711d9d commit 4ea071e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/common/bit_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

//package com.google.zxing.common;

use std::borrow::Cow;
use std::cmp;
use std::io::{ErrorKind, Read};

Expand Down Expand Up @@ -176,7 +175,7 @@ impl<'a> BitSource<'a> {
}
}

impl<'a> Read for BitSource<'a> {
impl Read for BitSource<'_> {
fn read(&mut self, buf: &mut [u8]) -> std::io::Result<usize> {
let requested_bytes = buf.len();
let available = self.available();
Expand Down

0 comments on commit 4ea071e

Please sign in to comment.