clarify that path() is for on-disk paths

This commit is contained in:
Ralf Jung 2024-12-17 07:37:46 +01:00
parent 6ace653a2f
commit 7dbfe4d4cf

View file

@ -613,7 +613,9 @@ impl<'a> ShouldRun<'a> {
self
}
// single, non-aliased path
/// single, non-aliased path
///
/// Must be an on-disk path; use `alias` for names that do not correspond to on-disk paths.
pub fn path(self, path: &str) -> Self {
self.paths(&[path])
}