Skip to content

Commit 4821663

Browse files
RalfJungCentril
andauthored
Full stop
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent a9efa73 commit 4821663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1949,7 +1949,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for InvalidValue {
19491949
Adt(..) if ty.is_box() => Some((format!("`Box` must be non-null"), None)),
19501950
FnPtr(..) => Some((format!("Function pointers must be non-null"), None)),
19511951
Never => Some((format!("The never type (`!`) has no valid value"), None)),
1952-
// Primitive types with other constraints
1952+
// Primitive types with other constraints.
19531953
Bool if init == InitKind::Uninit =>
19541954
Some((format!("Booleans must be `true` or `false`"), None)),
19551955
Char if init == InitKind::Uninit =>

0 commit comments

Comments
 (0)