Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Apr 11, 2024
1 parent 77d9bf7 commit b7eadb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fn qsufsort(I: &mut [isize], V: &mut [isize], old: &[u8]) {
}
h += h;
}
for (i, v) in V[0..old.len() + 1].iter().copied().enumerate() {
for (i, v) in V[0..=old.len()].iter().copied().enumerate() {
I[usz(v)] = i as isize;
}
}
Expand Down
1 change: 0 additions & 1 deletion src/patch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

use std::convert::TryInto;
use std::io;
use std::io::Read;

Expand Down

0 comments on commit b7eadb4

Please sign in to comment.