Fix compiletest and doc comment

This commit is contained in:
Jakub Beránek
2025-04-17 09:57:09 +02:00
parent 40058519ba
commit fbca453d7d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ pub enum PathFreshness {
/// whose modifications would invalidate the artifact.
/// Each pathspec can also be a negative match, i.e. `:!foo`. This matches changes outside
/// the `foo` directory.
/// See https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec
/// See <https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec>
/// for how git `pathspec` works.
///
/// The function behaves differently in CI and outside CI.
+1 -1
View File
@@ -745,7 +745,7 @@ fn modified_tests(config: &Config, dir: &Utf8Path) -> Result<Vec<Utf8PathBuf>, S
&vec!["rs", "stderr", "fixed"],
)?;
// Add new test cases to the list, it will be convenient in daily development.
let untracked_files = get_git_untracked_files(Some(dir))?.unwrap_or(vec![]);
let untracked_files = get_git_untracked_files(Some(dir.as_std_path()))?.unwrap_or(vec![]);
let all_paths = [&files[..], &untracked_files[..]].concat();
let full_paths = {