Skip to content

Commit

Permalink
style: fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrandt committed Dec 14, 2024
1 parent 88cbc16 commit 034943a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/splitter/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl<'cursor> CursorOffsets<'cursor> {
}
}

impl<'cursor> Iterator for CursorOffsets<'cursor> {
impl Iterator for CursorOffsets<'_> {
type Item = (Depth, Range<usize>);

fn next(&mut self) -> Option<Self::Item> {
Expand Down
1 change: 1 addition & 0 deletions tests/code.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Test for `CodeSplitter` behavior.
use std::fs;

use fake::{Fake, Faker};
Expand Down
1 change: 1 addition & 0 deletions tests/markdown.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Test for `MarkdownSplitter` behavior.
use std::fs;

use fake::{Fake, Faker};
Expand Down
1 change: 1 addition & 0 deletions tests/snapshots.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Snapshot tests for regressions in chunk output.
use std::{fs, ops::RangeInclusive, path::PathBuf};

use cached_path::Cache;
Expand Down
1 change: 1 addition & 0 deletions tests/text_splitter.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Test for `TextSplitter` behavior.
use std::fs;

use fake::{Fake, Faker};
Expand Down

0 comments on commit 034943a

Please sign in to comment.