Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e6e05d5

Browse files
authoredMay 21, 2024
Rollup merge of #125348 - tbu-:pr_doc_path_absolute, r=jhpratt
Small fixes to `std::path::absolute` docs
2 parents fd975f7 + f6cf103 commit e6e05d5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
 

‎library/std/src/path.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -3323,7 +3323,7 @@ impl Error for StripPrefixError {
33233323
///
33243324
/// # Examples
33253325
///
3326-
/// ## Posix paths
3326+
/// ## POSIX paths
33273327
///
33283328
/// ```
33293329
/// # #[cfg(unix)]
@@ -3369,9 +3369,12 @@ impl Error for StripPrefixError {
33693369
/// ```
33703370
///
33713371
/// For verbatim paths this will simply return the path as given. For other
3372-
/// paths this is currently equivalent to calling [`GetFullPathNameW`][windows-path]
3373-
/// This may change in the future.
3372+
/// paths this is currently equivalent to calling
3373+
/// [`GetFullPathNameW`][windows-path].
33743374
///
3375+
/// Note that this [may change in the future][changes].
3376+
///
3377+
/// [changes]: io#platform-specific-behavior
33753378
/// [posix-semantics]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13
33763379
/// [windows-path]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfullpathnamew
33773380
#[stable(feature = "absolute_path", since = "1.79.0")]

0 commit comments

Comments
 (0)
Failed to load comments.