Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Sep 26, 2024
1 parent 5a79911 commit f4bcb27
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 @@ -44,7 +44,7 @@ pub(crate) fn from_row_derive(tokens_input: TokenStream) -> Result<TokenStream,
let field_type = &field.ty;

quote_spanned! {field.span() =>
{
{
// To avoid unnecessary copy `std::mem::take` is used.
// Using explicit indexing operation is safe because `row_columns` is an array and `col_ix` is a litteral.
// <https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint/builtin/static.UNCONDITIONAL_PANIC.html>
Expand Down

0 comments on commit f4bcb27

Please sign in to comment.