diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-20 05:02:12 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-20 09:23:18 +1000 |
| commit | 09006d6a88019b80f7158f1a5f754a358751d7f1 (patch) | |
| tree | a0fbba1fc8b928a78b480ae6782ce0c4de625385 /library/std/src/sys/os_str/wtf8.rs | |
| parent | 894f7a4ba6554d3797404bbf550d9919df060b97 (diff) | |
| download | rust-09006d6a88019b80f7158f1a5f754a358751d7f1.tar.gz rust-09006d6a88019b80f7158f1a5f754a358751d7f1.zip | |
Convert some module-level `//` and `///` comments to `//!`.
This makes their intent and expected location clearer. We see some examples where these comments were not clearly separate from `use` declarations, which made it hard to understand what the comment is describing.
Diffstat (limited to 'library/std/src/sys/os_str/wtf8.rs')
| -rw-r--r-- | library/std/src/sys/os_str/wtf8.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/std/src/sys/os_str/wtf8.rs b/library/std/src/sys/os_str/wtf8.rs index dfff4dd4fb0..96690f8c44e 100644 --- a/library/std/src/sys/os_str/wtf8.rs +++ b/library/std/src/sys/os_str/wtf8.rs @@ -1,5 +1,6 @@ -/// The underlying OsString/OsStr implementation on Windows is a -/// wrapper around the "WTF-8" encoding; see the `wtf8` module for more. +//! The underlying OsString/OsStr implementation on Windows is a +//! wrapper around the "WTF-8" encoding; see the `wtf8` module for more. + use crate::borrow::Cow; use crate::collections::TryReserveError; use crate::fmt; |
