Skip to content

Commit

Permalink
clippy ignore reason
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofjoni committed Feb 27, 2024
1 parent 61cb416 commit e745159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/layer/trigger/api/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl QueryRoot {

/// This query returns the version of this API schema. It can also be used for health checks.
#[instrument(skip(self, _ctx))]
#[allow(clippy::no_effect_underscore_binding)]
#[allow(clippy::no_effect_underscore_binding)] // clippy does not detect that `_ctx` is required by the object macro.
async fn api_version(&self, _ctx: &Context<'_>) -> String {
trace!("Queried `apiVersion`");
env!("CARGO_PKG_VERSION").into()
Expand Down

0 comments on commit e745159

Please sign in to comment.