about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/bounds.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_hir_analysis/src/bounds.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_hir_analysis/src/bounds.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/bounds.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_hir_analysis/src/bounds.rs b/compiler/rustc_hir_analysis/src/bounds.rs
index b69f679880d..d659d2c5235 100644
--- a/compiler/rustc_hir_analysis/src/bounds.rs
+++ b/compiler/rustc_hir_analysis/src/bounds.rs
@@ -1,5 +1,5 @@
-//! Bounds are restrictions applied to some types after they've been converted into the
-//! `ty` form from the HIR.
+//! Bounds are restrictions applied to some types after they've been lowered from the HIR to the
+//! [`rustc_middle::ty`] form.
 
 use rustc_hir::LangItem;
 use rustc_middle::ty::{self, ToPredicate, Ty, TyCtxt};