about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-06-20 05:02:12 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-06-20 09:23:18 +1000
commit09006d6a88019b80f7158f1a5f754a358751d7f1 (patch)
treea0fbba1fc8b928a78b480ae6782ce0c4de625385 /compiler/rustc_data_structures/src
parent894f7a4ba6554d3797404bbf550d9919df060b97 (diff)
downloadrust-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 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/base_n.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/base_n.rs b/compiler/rustc_data_structures/src/base_n.rs
index aed89fadc4c..80810df14d0 100644
--- a/compiler/rustc_data_structures/src/base_n.rs
+++ b/compiler/rustc_data_structures/src/base_n.rs
@@ -1,5 +1,6 @@
-/// Converts unsigned integers into a string representation with some base.
-/// Bases up to and including 36 can be used for case-insensitive things.
+//! Converts unsigned integers into a string representation with some base.
+//! Bases up to and including 36 can be used for case-insensitive things.
+
 use std::ascii;
 use std::fmt;