mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Improve non-git error message (#3403)
The boxing changes are due to clippy
This commit is contained in:
parent
d0c3146ef6
commit
098944fc7d
12 changed files with 36 additions and 18 deletions
|
@ -892,8 +892,7 @@ impl<
|
|||
.iter()
|
||||
.cloned()
|
||||
.map(Requirement::from_pep508)
|
||||
.collect::<Result<_, _>>()
|
||||
.map_err(Box::new)?;
|
||||
.collect::<Result<_, _>>()?;
|
||||
let constraints = PubGrubDependencies::from_requirements(
|
||||
&requirements,
|
||||
&self.constraints,
|
||||
|
@ -1008,8 +1007,7 @@ impl<
|
|||
.iter()
|
||||
.cloned()
|
||||
.map(Requirement::from_pep508)
|
||||
.collect::<Result<_, _>>()
|
||||
.map_err(Box::new)?;
|
||||
.collect::<Result<_, _>>()?;
|
||||
let constraints = PubGrubDependencies::from_requirements(
|
||||
&requirements,
|
||||
&self.constraints,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue