mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-06 01:38:35 +00:00
clarify that path() is for on-disk paths
This commit is contained in:
@@ -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])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user