From 054dc5a85ae08789497c481f7e9c2ba0cc382ee2 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Wed, 15 Apr 2026 09:14:21 -0400 Subject: [PATCH] fix(model): use Self instead of Provider in method signature (clippy) Co-Authored-By: Claude Opus 4.6 (1M context) --- lib/crates/fabro-model/src/provider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crates/fabro-model/src/provider.rs b/lib/crates/fabro-model/src/provider.rs index c70e61256..645ccdfa2 100644 --- a/lib/crates/fabro-model/src/provider.rs +++ b/lib/crates/fabro-model/src/provider.rs @@ -72,7 +72,7 @@ impl Provider { /// Pick the best default provider based on an explicit configured list. #[must_use] - pub fn default_for_configured(configured: &[Provider]) -> Self { + pub fn default_for_configured(configured: &[Self]) -> Self { Self::default_with(|provider| configured.contains(&provider)) }