Skip to content

Commit

Permalink
Fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JayjeetAtGithub committed Jan 27, 2023
1 parent e52940a commit 7ad8a8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arrow-cast/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ use chrono::{DateTime, Utc};

fn invalid_cast_error(dt: &str, col_idx: usize, row_idx: usize) -> ArrowError {
ArrowError::CastError(format!(
"Cannot cast to {} at col index: {} row index: {}",
dt, col_idx, row_idx
"Cannot cast to {dt} at col index: {col_idx} row index: {row_idx}"
))
}

Expand Down

0 comments on commit 7ad8a8b

Please sign in to comment.