mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-15 09:15:00 +00:00
Remove unnecessary prefixes (#10158)
This commit is contained in:
parent
3cb723220e
commit
bec8468183
31 changed files with 124 additions and 175 deletions
|
@ -111,8 +111,8 @@ impl fmt::Display for EnvironmentNotFound {
|
|||
}
|
||||
}
|
||||
|
||||
impl std::fmt::Display for InvalidEnvironment {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||
impl fmt::Display for InvalidEnvironment {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(
|
||||
f,
|
||||
"Invalid environment at `{}`: {}",
|
||||
|
@ -122,8 +122,8 @@ impl std::fmt::Display for InvalidEnvironment {
|
|||
}
|
||||
}
|
||||
|
||||
impl std::fmt::Display for InvalidEnvironmentKind {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||
impl fmt::Display for InvalidEnvironmentKind {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
match self {
|
||||
Self::NotDirectory => write!(f, "expected directory but found a file"),
|
||||
Self::MissingExecutable(path) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue