From 4821663a2bd2ef6c8fbc9c3f24a00371e71d419a Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 17 Aug 2019 13:42:03 +0200 Subject: [PATCH] Full stop Co-Authored-By: Mazdak Farrokhzad --- src/librustc_lint/builtin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_lint/builtin.rs b/src/librustc_lint/builtin.rs index 877dc43fb7b..3279f243622 100644 --- a/src/librustc_lint/builtin.rs +++ b/src/librustc_lint/builtin.rs @@ -1949,7 +1949,7 @@ fn ty_find_init_error<'tcx>( Adt(..) if ty.is_box() => Some((format!("`Box` must be non-null"), None)), FnPtr(..) => Some((format!("Function pointers must be non-null"), None)), Never => Some((format!("The never type (`!`) has no valid value"), None)), - // Primitive types with other constraints + // Primitive types with other constraints. Bool if init == InitKind::Uninit => Some((format!("Booleans must be `true` or `false`"), None)), Char if init == InitKind::Uninit => -- GitLab