Link to PathBuf from the Path docs
This commit is contained in:
parent
1e5dab1da0
commit
27dbfffc71
1 changed files with 7 additions and 3 deletions
|
@ -1294,14 +1294,18 @@ impl Into<OsString> for PathBuf {
|
||||||
/// This type supports a number of operations for inspecting a path, including
|
/// This type supports a number of operations for inspecting a path, including
|
||||||
/// breaking the path into its components (separated by `/` or `\`, depending on
|
/// breaking the path into its components (separated by `/` or `\`, depending on
|
||||||
/// the platform), extracting the file name, determining whether the path is
|
/// the platform), extracting the file name, determining whether the path is
|
||||||
/// absolute, and so on. More details about the overall approach can be found in
|
/// absolute, and so on.
|
||||||
/// the module documentation.
|
|
||||||
///
|
///
|
||||||
/// This is an *unsized* type, meaning that it must always be used behind a
|
/// This is an *unsized* type, meaning that it must always be used behind a
|
||||||
/// pointer like `&` or [`Box`].
|
/// pointer like `&` or [`Box`]. For an owned version of this type,
|
||||||
|
/// see [`PathBuf`].
|
||||||
///
|
///
|
||||||
/// [`str`]: ../primitive.str.html
|
/// [`str`]: ../primitive.str.html
|
||||||
/// [`Box`]: ../boxed/struct.Box.html
|
/// [`Box`]: ../boxed/struct.Box.html
|
||||||
|
/// [`PathBuf`]: struct.PathBuf.html
|
||||||
|
///
|
||||||
|
/// More details about the overall approach can be found in
|
||||||
|
/// the module documentation.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue