attr/passes: comment -> doc comment
Change some regular comments into documentation comments. Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
03d488b48a
commit
6f0b8f1a4b
3 changed files with 29 additions and 16 deletions
|
@ -1,8 +1,8 @@
|
|||
// Detecting lib features (i.e., features that are not lang features).
|
||||
//
|
||||
// These are declared using stability attributes (e.g., `#[stable (..)]`
|
||||
// and `#[unstable (..)]`), but are not declared in one single location
|
||||
// (unlike lang features), which means we need to collect them instead.
|
||||
//! Detecting lib features (i.e., features that are not lang features).
|
||||
//!
|
||||
//! These are declared using stability attributes (e.g., `#[stable (..)]` and `#[unstable (..)]`),
|
||||
//! but are not declared in one single location (unlike lang features), which means we need to
|
||||
//! collect them instead.
|
||||
|
||||
use rustc_ast::{Attribute, MetaItemKind};
|
||||
use rustc_errors::struct_span_err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue