Commit 610cec9
authored
fix(sidekick/rust): Remove unnecessary dereference in transport template (#2481)
Removes an unnecessary `&*` in the `with_instrumentation` call within
the generated `transport.rs` file. This was causing a
`clippy::explicit_auto_deref` warning.
This issue was highlighted in the google-cloud-rust CI after merging
librarian PR #2443. See
https://github.com/googleapis/google-cloud-rust/actions/runs/18226945878/job/51900522484?pr=3457
Tested:
- Regenerated showcase with detailed-tracing-attributes=true, confirmed
clippy passes.
- Regenerated showcase with detailed-tracing-attributes=false, confirmed
clippy passes and no tracing code was added.1 parent fe6b1be commit 610cec9
File tree
1 file changed
+1
-1
lines changed- internal/sidekick/internal/rust/templates/crate/src
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments