diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2024-05-21 00:36:52 +0200 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2024-05-21 00:36:52 +0200 |
| commit | f6cf103da2d08c9c8598a83da1fc83391bcd1119 (patch) | |
| tree | 8a60de49096ed3af96aed728116c15377d1480e2 /library/std/src | |
| parent | 474bee7bf540db9344ca975298b6c1646a74b772 (diff) | |
| download | rust-f6cf103da2d08c9c8598a83da1fc83391bcd1119.tar.gz rust-f6cf103da2d08c9c8598a83da1fc83391bcd1119.zip | |
Small fixes to `std::path::absolute` docs
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/path.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/library/std/src/path.rs b/library/std/src/path.rs index 79d800ff072..f835b69f0cf 100644 --- a/library/std/src/path.rs +++ b/library/std/src/path.rs @@ -3323,7 +3323,7 @@ impl Error for StripPrefixError { /// /// # Examples /// -/// ## Posix paths +/// ## POSIX paths /// /// ``` /// # #[cfg(unix)] @@ -3369,9 +3369,12 @@ impl Error for StripPrefixError { /// ``` /// /// For verbatim paths this will simply return the path as given. For other -/// paths this is currently equivalent to calling [`GetFullPathNameW`][windows-path] -/// This may change in the future. +/// paths this is currently equivalent to calling +/// [`GetFullPathNameW`][windows-path]. /// +/// Note that this [may change in the future][changes]. +/// +/// [changes]: io#platform-specific-behavior /// [posix-semantics]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13 /// [windows-path]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfullpathnamew #[stable(feature = "absolute_path", since = "1.79.0")] |
