Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Ruslan Sayfutdinov <[email protected]>
  • Loading branch information
ChrisDenton and KapJI authored Oct 23, 2021
1 parent f1efc7e commit 37e4c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/windows/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ fn parse_next_component(path: &OsStr, verbatim: bool) -> (&OsStr, &OsStr) {
///
/// This path may or may not have a verbatim prefix.
pub(crate) fn maybe_verbatim(path: &Path) -> io::Result<Vec<u16>> {
// Normally the MAX path is 260 UTF-16 code units (including the NULL).
// Normally the MAX_PATH is 260 UTF-16 code units (including the NULL).
// However, for APIs such as CreateDirectory[1], the limit is 248.
//
// [1]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createdirectorya#parameters
Expand Down

0 comments on commit 37e4c84

Please sign in to comment.