Skip to content

Commit 1e05ff4

Browse files
committed
clippy
1 parent 71a79eb commit 1e05ff4

File tree

1 file changed

+2
-2
lines changed
  • native/spark-expr/src/conversion_funcs

1 file changed

+2
-2
lines changed

native/spark-expr/src/conversion_funcs/cast.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ fn can_cast_from_string(to_type: &DataType, options: &SparkCastOptions) -> bool
248248
}
249249
}
250250

251-
fn can_cast_to_string(from_type: &DataType, options: &SparkCastOptions) -> bool {
251+
fn can_cast_to_string(from_type: &DataType, _options: &SparkCastOptions) -> bool {
252252
use DataType::*;
253253
match from_type {
254254
Boolean | Int8 | Int16 | Int32 | Int64 | Date32 | Date64 | Timestamp(_, _) => true,
@@ -267,7 +267,7 @@ fn can_cast_to_string(from_type: &DataType, options: &SparkCastOptions) -> bool
267267
Binary => true,
268268
Struct(fields) => fields
269269
.iter()
270-
.all(|f| can_cast_to_string(f.data_type(), options)),
270+
.all(|f| can_cast_to_string(f.data_type(), _options)),
271271
_ => false,
272272
}
273273
}

0 commit comments

Comments
 (0)