Skip to content

Commit f557718

Browse files
committed
Remove redundant lifetimes from graphql context
1 parent a797e06 commit f557718

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/graphql/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,9 @@ impl Query {
391391
impl Mutation {
392392
/// Generate scan file locations for the next scan
393393
#[instrument(skip(self, ctx))]
394-
async fn scan<'ctx>(
394+
async fn scan(
395395
&self,
396-
ctx: &Context<'ctx>,
396+
ctx: &Context<'_>,
397397
instrument: String,
398398
instrument_session: String,
399399
sub: Option<Subdirectory>,
@@ -431,9 +431,9 @@ impl Mutation {
431431

432432
/// Add or modify the stored configuration for an instrument
433433
#[instrument(skip(self, ctx))]
434-
async fn configure<'ctx>(
434+
async fn configure(
435435
&self,
436-
ctx: &Context<'ctx>,
436+
ctx: &Context<'_>,
437437
instrument: String,
438438
config: ConfigurationUpdates,
439439
) -> async_graphql::Result<CurrentConfiguration> {

0 commit comments

Comments
 (0)