Skip to content

Commit a7cc95e

Browse files
authored
Rollup merge of rust-lang#149088 - ximon18:patch-1, r=ChrisDenton
Add missing trailing period to RustDoc for fn create_dir(). Documentation for other functions in the standard library RustDocs have a trailing period at the end of the first sentence, e.g. `create_dir_all()` and `create_buffered()` have the trailing period, but the first line of documentation for `fn create_dir()` lacks a trailing period. This PR adds the missing period.
2 parents c2fdcdd + 9f49ac3 commit a7cc95e

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
@@ -2918,7 +2918,7 @@ pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
29182918
fs_imp::canonicalize(path.as_ref())
29192919
}
29202920

2921-
/// Creates a new, empty directory at the provided path
2921+
/// Creates a new, empty directory at the provided path.
29222922
///
29232923
/// # Platform-specific behavior
29242924
///

0 commit comments

Comments
 (0)