Skip to content

Commit 35a35d8

Browse files
update comment
Co-authored-by: Léo Lanteri Thauvin <[email protected]>
1 parent 3e44ca9 commit 35a35d8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/rustc_mir_transform/src/check_unsafety.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ pub struct UnsafetyChecker<'a, 'tcx> {
2222
param_env: ty::ParamEnv<'tcx>,
2323

2424
/// Used `unsafe` blocks in this function. This is used for the "unused_unsafe" lint.
25-
///
26-
/// The keys are the used `unsafe` blocks, the UnusedUnsafeKind indicates whether
27-
/// or not any of the usages happen at a place that doesn't allow `unsafe_op_in_unsafe_fn`.
2825
used_unsafe_blocks: FxHashSet<HirId>,
2926
}
3027

0 commit comments

Comments
 (0)