Skip to content

Commit

Permalink
fix: update clippy version
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Aug 5, 2024
1 parent f760870 commit cfbfc10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crates/dojo-bindgen/src/plugins/typescript_v2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,6 @@ function convertQueryToToriiClause(query: Query): Clause | undefined {{

for field in &token.inners {
let mapped = TypeScriptV2Plugin::map_type(&field.token);
format!("{}: {};", field.name, mapped);
native_fields.push(format!("{}: {};", field.name, mapped));
}

Expand Down
2 changes: 1 addition & 1 deletion crates/torii/core/src/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ impl Sql {
executed_at=EXCLUDED.executed_at RETURNING *";
let model_registered: ModelRegistered = sqlx::query_as(insert_models)
// this is temporary until the model hash is precomputed
.bind(&format!("{:#x}", selector))
.bind(format!("{:#x}", selector))
.bind(namespace)
.bind(model.name())
.bind(format!("{class_hash:#x}"))
Expand Down

0 comments on commit cfbfc10

Please sign in to comment.