mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Remove Into::into
(#3337)
Motivated by https://github.com/astral-sh/uv/pull/3263#discussion_r1585896159 I don't think we can lint againt this since we do want to allow `.into()`, just not the bare `Into::into` call.
This commit is contained in:
parent
538a85b827
commit
2e27abd34a
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ where
|
|||
return Ok(None);
|
||||
};
|
||||
Ok(Some(
|
||||
LenientVersionSpecifiers::from_str(&string).map(Into::into),
|
||||
LenientVersionSpecifiers::from_str(&string).map(VersionSpecifiers::from),
|
||||
))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue