Skip to content

Commit 7362f42

Browse files
authored
add missing 'not' in error messages
add missing 'not' in error messages
2 parents d137a8c + 61ee905 commit 7362f42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gix-discover/src/upwards/types.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ pub enum Error {
1010
InvalidInput { directory: PathBuf },
1111
#[error("Failed to access a directory, or path is not a directory: '{}'", .path.display())]
1212
InaccessibleDirectory { path: PathBuf },
13-
#[error("Could find a git repository in '{}' or in any of its parents", .path.display())]
13+
#[error("Could not find a git repository in '{}' or in any of its parents", .path.display())]
1414
NoGitRepository { path: PathBuf },
15-
#[error("Could find a git repository in '{}' or in any of its parents within ceiling height of {}", .path.display(), .ceiling_height)]
15+
#[error("Could not find a git repository in '{}' or in any of its parents within ceiling height of {}", .path.display(), .ceiling_height)]
1616
NoGitRepositoryWithinCeiling { path: PathBuf, ceiling_height: usize },
17-
#[error("Could find a git repository in '{}' or in any of its parents within device limits below '{}'", .path.display(), .limit.display())]
17+
#[error("Could not find a git repository in '{}' or in any of its parents within device limits below '{}'", .path.display(), .limit.display())]
1818
NoGitRepositoryWithinFs { path: PathBuf, limit: PathBuf },
1919
#[error("None of the passed ceiling directories prefixed the git-dir candidate, making them ineffective.")]
2020
NoMatchingCeilingDir,
21-
#[error("Could find a trusted git repository in '{}' or in any of its parents, candidate at '{}' discarded", .path.display(), .candidate.display())]
21+
#[error("Could not find a trusted git repository in '{}' or in any of its parents, candidate at '{}' discarded", .path.display(), .candidate.display())]
2222
NoTrustedGitRepository {
2323
path: PathBuf,
2424
candidate: PathBuf,

0 commit comments

Comments
 (0)