mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
Document that fs::read_dir skips . and ..
This commit is contained in:
@@ -2039,6 +2039,8 @@ pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
|
||||
///
|
||||
/// The iterator will yield instances of [`io::Result`]`<`[`DirEntry`]`>`.
|
||||
/// New errors may be encountered after an iterator is initially constructed.
|
||||
/// Entries for the current and parent directories (typically `.` and `..`) are
|
||||
/// skipped.
|
||||
///
|
||||
/// # Platform-specific behavior
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user