about summary refs log tree commit diff
path: root/compiler/rustc_span/src/hygiene.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-02-11 09:22:52 +0100
committerLeón Orell Valerian Liehr <me@fmease.dev>2024-03-22 06:31:51 +0100
commit82c2c8deb1fb7640fedfbc49b5647957a1d572db (patch)
tree2a143c231f11041fd227262c1c650f7b7bd025ea /compiler/rustc_span/src/hygiene.rs
parent05d48b936f3733ff1d64de91a47465682603b133 (diff)
downloadrust-82c2c8deb1fb7640fedfbc49b5647957a1d572db.tar.gz
rust-82c2c8deb1fb7640fedfbc49b5647957a1d572db.zip
Update (doc) comments
Several (doc) comments were super outdated or didn't provide enough context.

Some doc comments shoved everything in a single paragraph without respecting
the fact that the first paragraph should be a single sentence because rustdoc
treats these as item descriptions / synopses on module pages.
Diffstat (limited to 'compiler/rustc_span/src/hygiene.rs')
-rw-r--r--compiler/rustc_span/src/hygiene.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/hygiene.rs b/compiler/rustc_span/src/hygiene.rs
index 527938daae4..37fea6c122c 100644
--- a/compiler/rustc_span/src/hygiene.rs
+++ b/compiler/rustc_span/src/hygiene.rs
@@ -1062,7 +1062,7 @@ pub enum ExpnKind {
     Macro(MacroKind, Symbol),
     /// Transform done by the compiler on the AST.
     AstPass(AstPass),
-    /// Desugaring done by the compiler during HIR lowering.
+    /// Desugaring done by the compiler during AST lowering.
     Desugaring(DesugaringKind),
 }