Skip to content

Commit 16f44fd

Browse files
committed
fix the std::fs::create_dir_all docs
1 parent d1932ce commit 16f44fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2803,7 +2803,7 @@ pub fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
28032803
/// Recursively create a directory and all of its parent components if they
28042804
/// are missing.
28052805
///
2806-
/// This function returns an error if any of the parent components are not a directory and already
2806+
/// This function returns an error if any of the path components are not a directory and already
28072807
/// exist.
28082808
///
28092809
/// If the empty path is passed to this function, it always succeeds without

0 commit comments

Comments
 (0)