fix: Remove needless borrows, thanks Clippy!

pull/24376/head
Carol (Nichols || Goulding) 2022-11-04 11:33:52 -04:00
parent a3bee0c303
commit 07505c8f72
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
2 changed files with 4 additions and 4 deletions

View File

@ -83,9 +83,9 @@ fn generate_grpc_types(root: &Path) -> Result<()> {
config
.compile_well_known_types()
.disable_comments(&[".google"])
.disable_comments([".google"])
.extern_path(".google.protobuf", "::pbjson_types")
.btree_map(&[
.btree_map([
".influxdata.iox.ingester.v1.IngesterQueryResponseMetadata.unpersisted_partitions",
]);

View File

@ -1393,7 +1393,7 @@ WHERE id = $2;
RETURNING p.id;
"#,
)
.bind(&flagged_at) // $1
.bind(flagged_at) // $1
.fetch_all(&mut self.inner)
.await
.map_err(|e| Error::SqlxError { source: e })?;