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`.
|
||||
///
|
||||
/// If `path` is absolute, it replaces the current path.
|
||||
///
|
||||
/// See [`PathBuf::push`] for more details on what it means to adjoin a path.
|
||||
///
|
||||
/// # Examples
|
||||
|
|
Loading…
Add table
Reference in a new issue