From 7e423850fc428d1ed35e026daf83d79fb8a5eabe Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 13 Jan 2021 09:34:49 +0100 Subject: Fix clippy: explicit lifetimes given in parameter types where they could be elided Signed-off-by: Matthias Beyer --- src/endpoint/configured.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/endpoint/configured.rs') 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>) -> Result> { + pub async fn prepare_container(&self, job: RunnableJob, staging: Arc>) -> Result> { PreparedContainer::new(self, job, staging).await } -- cgit v1.2.3