Skip to content

Commit c00ca79

Browse files
committed
add suggestion
1 parent 404811b commit c00ca79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/rustc_lint/src/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3112,7 +3112,7 @@ impl<'tcx> LateLintPass<'tcx> for AsmLabels {
31123112
}
31133113

31143114
declare_lint! {
3115-
/// The `black_box_zst_call` lint detects calls to `core::hint::black_box`
3115+
/// The `black_box_zst_calls` lint detects calls to `core::hint::black_box`
31163116
/// where the argument is a zero-sized callable (e.g. a function item or
31173117
/// a capture-less closure). These values have no runtime representation,
31183118
/// so the black boxing does not make subsequent calls opaque to the

0 commit comments

Comments
 (0)