Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 committed Oct 11, 2024
1 parent c4516a5 commit 7f3f6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/003-migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn create_account(
return Err(username.error("username 'admin' is not allowed").into());
}

let _res = conn.transaction::<_, ft_sdk::Error, _>(|c| {
conn.transaction::<_, ft_sdk::Error, _>(|c| {
// do a select query to see if username is already taken
if diesel::select(diesel::dsl::exists(
account_user::table.filter(account_user::username.eq(&username.0)),
Expand Down

0 comments on commit 7f3f6c7

Please sign in to comment.