Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/libstd/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1046,8 +1046,11 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
/// Removes a directory at this path, after removing all its contents. Use
/// carefully!
///
/// This function does **not** follow symbolic links and it will simply remove the
/// symbolic link itself.
/// This function does **not** follow symbolic links **inside** the
/// directory and it will simply remove the symbolic link itself.
/// But if a directory is **itself** a symbolic link to a directory
/// it will first clean the target directory, then fail with the
/// "Not a directory" error.
///
/// # Errors
///
Expand Down