Skip to content

Commit 6dfe1fd

Browse files
alambDandandan
andauthored
Apply suggestions from code review
Co-authored-by: Daniël Heres <danielheres@gmail.com>
1 parent de03dc9 commit 6dfe1fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion/src/scalar.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ impl ScalarValue {
323323
let data_type = match scalars.peek() {
324324
None => {
325325
return Err(DataFusionError::Internal(
326-
"empty iterator passed to ScalarValue::iter_to_array".to_string(),
326+
"Empty iterator passed to ScalarValue::iter_to_array".to_string(),
327327
))
328328
}
329329
Some(sv) => sv.get_datatype(),
@@ -1190,7 +1190,7 @@ mod tests {
11901190
assert!(
11911191
result
11921192
.to_string()
1193-
.contains("empty iterator passed to ScalarValue::iter_to_array"),
1193+
.contains("Empty iterator passed to ScalarValue::iter_to_array"),
11941194
"{}",
11951195
result
11961196
);

0 commit comments

Comments
 (0)