clarify that path() is for on-disk paths
This commit is contained in:
parent
6ace653a2f
commit
7dbfe4d4cf
1 changed files with 3 additions and 1 deletions
|
|
@ -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])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue