diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-01-13 09:34:49 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-15 23:21:39 +0100 |
commit | 7e423850fc428d1ed35e026daf83d79fb8a5eabe (patch) | |
tree | 693e3a76dfdb12e03cec2c305ed7cbeb942c8a75 /src/endpoint/configured.rs | |
parent | e34113b50444333da8f19dd1f9a3471b3b83c6ee (diff) |
Fix clippy: explicit lifetimes given in parameter types where they could be elided
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/endpoint/configured.rs')
-rw-r--r-- | src/endpoint/configured.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/endpoint/configured.rs b/src/endpoint/configured.rs index fe983c0..d5a3b29 100644 --- a/src/endpoint/configured.rs +++ b/src/endpoint/configured.rs @@ -186,7 +186,7 @@ impl Endpoint { } - pub async fn prepare_container<'a>(&'a self, job: RunnableJob, staging: Arc<RwLock<StagingStore>>) -> Result<PreparedContainer<'a>> { + pub async fn prepare_container(&self, job: RunnableJob, staging: Arc<RwLock<StagingStore>>) -> Result<PreparedContainer<'_>> { PreparedContainer::new(self, job, staging).await } |