Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Sep 24, 2024
1 parent e30b37c commit 83e760d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scylla-macros/src/from_row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub(crate) fn from_row_derive(tokens_input: TokenStream) -> Result<TokenStream,


let row_columns_len = row.columns.len();
let mut row_columns: [Option<CqlValue>; #fields_count] = row.columns.try_into().map_err(|_| FromRowError::WrongRowSize {
let mut row_columns: [_; #fields_count] = row.columns.try_into().map_err(|_| FromRowError::WrongRowSize {
expected: #fields_count,
actual: row_columns_len,
})?;
Expand Down

0 comments on commit 83e760d

Please sign in to comment.