Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions datafusion/core/src/datasource/file_format/csv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ mod tests {
let len = bytes.len() as u64;
let range = 0..len * self.max_iterations;
let arc = self.iterations_detected.clone();
#[expect(clippy::result_large_err)]
// closure only ever returns Ok; Err type is never constructed
let stream = futures::stream::repeat_with(move || {
let arc_inner = arc.clone();
*arc_inner.lock().unwrap() += 1;
Expand Down
2 changes: 2 additions & 0 deletions datafusion/core/tests/sql/path_partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,8 @@ impl ObjectStore for MirroringObjectStore {
.map(|mut x| x.next().is_some())
.unwrap_or(false);

#[expect(clippy::result_large_err)]
// closure only ever returns Ok; Err type is never constructed
filter.then(|| {
Ok(ObjectMeta {
location,
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
# to compile this workspace and run CI jobs.

[toolchain]
channel = "1.93.0"
channel = "1.94.0"
components = ["rustfmt", "clippy"]
Loading