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:
parent
894f7a4ba6
commit
09006d6a88
9 changed files with 32 additions and 26 deletions
|
@ -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, *};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue