Skip to content

Commit

Permalink
fix typography
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 25, 2021
1 parent 421d54e commit 588530d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/mir/query.rs
Expand Up @@ -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.
Expand Down

0 comments on commit 588530d

Please sign in to comment.