mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
fix typography
This commit is contained in:
parent
421d54e4aa
commit
588530d096
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user