Remove unnecessary prefixes (#10158)

This commit is contained in:
Charlie Marsh
2024-12-25 14:18:01 -05:00
committed by GitHub
parent 3cb723220e
commit bec8468183
31 changed files with 124 additions and 175 deletions
+4 -4
View File
@@ -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) => {