Add note about absolute paths to Path::join
This commit is contained in:
parent
56ee85274e
commit
ec3da87582
1 changed files with 2 additions and 0 deletions
|
@ -2531,6 +2531,8 @@ impl Path {
|
||||||
|
|
||||||
/// Creates an owned [`PathBuf`] with `path` adjoined to `self`.
|
/// Creates an owned [`PathBuf`] with `path` adjoined to `self`.
|
||||||
///
|
///
|
||||||
|
/// If `path` is absolute, it replaces the current path.
|
||||||
|
///
|
||||||
/// See [`PathBuf::push`] for more details on what it means to adjoin a path.
|
/// See [`PathBuf::push`] for more details on what it means to adjoin a path.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue