Skip to content

Commit

Permalink
clarify that path() is for on-disk paths
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Dec 17, 2024
1 parent 6ace653 commit 7dbfe4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bootstrap/src/core/builder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
Expand Down

0 comments on commit 7dbfe4d

Please sign in to comment.