⭐️ A friendly language for building type-safe, scalable systems!

address review comment: fix warning message

authored by giacomocavalieri.me and committed by Louis Pilfold 3f7cc0c1 49b9564f

+2 -2
compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__assert__bool_literal.snap
··· 16 16 3 │ assert True 17 17 │ ^^^^ 18 18 19 - Asserting on a literal Boolean is redundant since you can already tell 20 - whether it will be True or False. 19 + Asserting on a literal bool is redundant since you can already tell whether 20 + it will be `True` or `False`.
+2 -2
compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__assert__negation_of_bool_literal.snap
··· 16 16 3 │ assert !False 17 17 │ ^^^^^^ 18 18 19 - Asserting on a literal Boolean is redundant since you can already tell 20 - whether it will be True or False. 19 + Asserting on a literal bool is redundant since you can already tell whether 20 + it will be `True` or `False`.
+2 -2
compiler-core/src/warning.rs
··· 1262 1262 type_::Warning::AssertLiteralBool { location } => Diagnostic { 1263 1263 title: "Assertion of a literal value".into(), 1264 1264 text: wrap( 1265 - "Asserting on a literal Boolean is redundant since you \ 1266 - can already tell whether it will be True or False.", 1265 + "Asserting on a literal bool is redundant since you \ 1266 + can already tell whether it will be `True` or `False`.", 1267 1267 ), 1268 1268 hint: None, 1269 1269 level: diagnostic::Level::Warning,