fix(model): use Self instead of Provider in method signature (clippy)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-04-15 09:14:21 -04:00
parent 6d4b26579b
commit 054dc5a85a
No known key found for this signature in database

View file

@ -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))
}