mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 08:57:36 +00:00
Document platform-specific behavior of the iterator returned by std::fs::read_dir
This commit is contained in:
parent
eeba189cfb
commit
c8619ae791
@ -1956,7 +1956,8 @@ pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
|
|||||||
/// # Platform-specific behavior
|
/// # Platform-specific behavior
|
||||||
///
|
///
|
||||||
/// This function currently corresponds to the `opendir` function on Unix
|
/// This function currently corresponds to the `opendir` function on Unix
|
||||||
/// and the `FindFirstFile` function on Windows.
|
/// and the `FindFirstFile` function on Windows. Advancing the iterator
|
||||||
|
/// currently corresponds to `readdir` on Unix and `FindNextFile` on Windows.
|
||||||
/// Note that, this [may change in the future][changes].
|
/// Note that, this [may change in the future][changes].
|
||||||
///
|
///
|
||||||
/// [changes]: ../io/index.html#platform-specific-behavior
|
/// [changes]: ../io/index.html#platform-specific-behavior
|
||||||
|
Loading…
Reference in New Issue
Block a user