mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
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:
parent
6d4b26579b
commit
054dc5a85a
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue