diff options
| author | Ralf Jung <post@ralfj.de> | 2021-04-25 18:41:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-25 18:41:14 +0200 |
| commit | 588530d09635bdcdb972c0bc4fa99b983e9368ec (patch) | |
| tree | 35013f18e72a2daa93b8f278256503292a92df26 | |
| parent | 421d54e4aa484b6eec6b5e8a0807f8f4430739b6 (diff) | |
| download | rust-588530d09635bdcdb972c0bc4fa99b983e9368ec.tar.gz rust-588530d09635bdcdb972c0bc4fa99b983e9368ec.zip | |
fix typography
| -rw-r--r-- | compiler/rustc_middle/src/mir/query.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/query.rs b/compiler/rustc_middle/src/mir/query.rs index 8c540536d92..fdd874c6f68 100644 --- a/compiler/rustc_middle/src/mir/query.rs +++ b/compiler/rustc_middle/src/mir/query.rs @@ -19,7 +19,7 @@ use super::{Field, SourceInfo}; #[derive(Copy, Clone, PartialEq, TyEncodable, TyDecodable, HashStable, Debug)] pub enum UnsafetyViolationKind { - /// Unsafe operation outside `unsafe` + /// Unsafe operation outside `unsafe`. General, /// Unsafe operation in an `unsafe fn` but outside an `unsafe` block. /// Has to be handled as a lint for backwards compatibility. |
