Link to std::io's platform-specific behavior disclaimer
This commit is contained in:
parent
3badf5c51c
commit
d55854d484
2 changed files with 13 additions and 4 deletions
|
@ -25,9 +25,11 @@ use crate::sys::os as os_imp;
|
|||
///
|
||||
/// # Platform-specific behavior
|
||||
///
|
||||
/// This function currently corresponds to the `getcwd` function on Unix
|
||||
/// This function [currently] corresponds to the `getcwd` function on Unix
|
||||
/// and the `GetCurrentDirectoryW` function on Windows.
|
||||
///
|
||||
/// [currently]: crate::io#platform-specific-behavior
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
/// Returns an [`Err`] if the current working directory value is invalid.
|
||||
|
@ -56,11 +58,13 @@ pub fn current_dir() -> io::Result<PathBuf> {
|
|||
///
|
||||
/// # Platform-specific behavior
|
||||
///
|
||||
/// This function currently corresponds to the `chdir` function on Unix
|
||||
/// This function [currently] corresponds to the `chdir` function on Unix
|
||||
/// and the `SetCurrentDirectoryW` function on Windows.
|
||||
///
|
||||
/// Returns an [`Err`] if the operation fails.
|
||||
///
|
||||
/// [currently]: crate::io#platform-specific-behavior
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue