mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 02:48:17 +00:00
Rename Error::IO
to Error::Io
(#5174)
## Summary I believe this is by convention (see, e.g., in Rust itself: https://github.com/search?q=repo%3Arust-lang%2Frust+%2F%28%3F-i%29Io%2F&type=code).
This commit is contained in:
parent
61a81da760
commit
8484611753
11 changed files with 23 additions and 23 deletions
|
@ -87,7 +87,7 @@ static SETUP_PY_REQUIREMENTS: Lazy<[Requirement; 2]> = Lazy::new(|| {
|
|||
#[derive(Error, Debug)]
|
||||
pub enum Error {
|
||||
#[error(transparent)]
|
||||
IO(#[from] io::Error),
|
||||
Io(#[from] io::Error),
|
||||
#[error("Invalid source distribution: {0}")]
|
||||
InvalidSourceDist(String),
|
||||
#[error("Invalid `pyproject.toml`")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue