Skip to content

Commit 7dbfe4d

Browse files
committed
clarify that path() is for on-disk paths
1 parent 6ace653 commit 7dbfe4d

File tree

1 file changed

+3
-1
lines changed
  • src/bootstrap/src/core/builder

1 file changed

+3
-1
lines changed

src/bootstrap/src/core/builder/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,9 @@ impl<'a> ShouldRun<'a> {
613613
self
614614
}
615615

616-
// single, non-aliased path
616+
/// single, non-aliased path
617+
///
618+
/// Must be an on-disk path; use `alias` for names that do not correspond to on-disk paths.
617619
pub fn path(self, path: &str) -> Self {
618620
self.paths(&[path])
619621
}

0 commit comments

Comments
 (0)