1
Fork 0

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.
This commit is contained in:
Nicholas Nethercote 2024-06-20 05:02:12 +10:00
parent 894f7a4ba6
commit 09006d6a88
9 changed files with 32 additions and 26 deletions

View file

@ -1,4 +1,5 @@
/// Functionality for statements, operands, places, and things that appear in them.
//! Functionality for statements, operands, places, and things that appear in them.
use super::{interpret::GlobalAlloc, *};
///////////////////////////////////////////////////////////////////////////

View file

@ -1,4 +1,5 @@
/// Functionality for terminators and helper types that appear in terminators.
//! Functionality for terminators and helper types that appear in terminators.
use rustc_hir::LangItem;
use smallvec::{smallvec, SmallVec};