From 39766498d169c3417dc40b2925b2eec307987053 Mon Sep 17 00:00:00 2001 From: laurent Date: Sat, 21 Dec 2024 12:02:05 +0100 Subject: [PATCH] Fix clippy lints. --- candle-transformers/src/models/depth_anything_v2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/candle-transformers/src/models/depth_anything_v2.rs b/candle-transformers/src/models/depth_anything_v2.rs index f12047574..3b6bd1a59 100644 --- a/candle-transformers/src/models/depth_anything_v2.rs +++ b/candle-transformers/src/models/depth_anything_v2.rs @@ -533,7 +533,7 @@ pub struct DepthAnythingV2 { conf: DepthAnythingV2Config, } -impl<'a> DepthAnythingV2 { +impl DepthAnythingV2 { pub fn new( pretrained: Arc, conf: DepthAnythingV2Config,