diff options
| author | ankushduacodes <ankushduacodes@gmail.com> | 2020-11-06 09:25:58 +0530 |
|---|---|---|
| committer | ankushduacodes <ankushduacodes@gmail.com> | 2020-11-06 09:25:58 +0530 |
| commit | 0af959d3a23a98e163b26fa577e4c34f3e67726d (patch) | |
| tree | a6619c9290c741b66844f97d9efa33977fafe51b /compiler/rustc_mir/src | |
| parent | 9d78d1d02761b906038ba4d54c5f3427f920f5fb (diff) | |
| download | rust-0af959d3a23a98e163b26fa577e4c34f3e67726d.tar.gz rust-0af959d3a23a98e163b26fa577e4c34f3e67726d.zip | |
Fixing Spelling Typos
Diffstat (limited to 'compiler/rustc_mir/src')
| -rw-r--r-- | compiler/rustc_mir/src/transform/check_unsafety.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/transform/check_unsafety.rs b/compiler/rustc_mir/src/transform/check_unsafety.rs index 3d68b862df2..acec3e8f82f 100644 --- a/compiler/rustc_mir/src/transform/check_unsafety.rs +++ b/compiler/rustc_mir/src/transform/check_unsafety.rs @@ -693,7 +693,7 @@ pub fn check_unsafety(tcx: TyCtxt<'_>, def_id: LocalDefId) { // should only issue a warning for the sake of backwards compatibility. // // The solution those 2 expectations is to always take the minimum of both lints. - // This prevent any new errors (unless both lints are explicitely set to `deny`). + // This prevent any new errors (unless both lints are explicitly set to `deny`). let lint = if tcx.lint_level_at_node(SAFE_PACKED_BORROWS, lint_root).0 <= tcx.lint_level_at_node(UNSAFE_OP_IN_UNSAFE_FN, lint_root).0 { |
