From a24e4c5d8d0d69b991f5bea1e420888d84e874e5 Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Thu, 14 Jul 2022 21:34:09 +0000 Subject: [PATCH] Fix warning --- .../src/generate/group/method/method_with_params.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent-web-api-gen/src/generate/group/method/method_with_params.rs b/qbittorrent-web-api-gen/src/generate/group/method/method_with_params.rs index 72b4188..a404a9d 100644 --- a/qbittorrent-web-api-gen/src/generate/group/method/method_with_params.rs +++ b/qbittorrent-web-api-gen/src/generate/group/method/method_with_params.rs @@ -203,7 +203,7 @@ impl<'a> Parameter<'a> { } impl types::Type { - fn to_parameter<'a>(&'a self) -> Parameter<'a> { + fn to_parameter(&self) -> Parameter<'_> { Parameter::new(self) } }