mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
clarify that path() is for on-disk paths
This commit is contained in:
@@ -613,7 +613,9 @@ pub fn alias(mut self, alias: &str) -> Self {
|
||||
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