aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/collapsible_let_in.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/lints/collapsible_let_in.rs')
-rw-r--r--lib/src/lints/collapsible_let_in.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/lints/collapsible_let_in.rs b/lib/src/lints/collapsible_let_in.rs
index c2cdf9b..878d218 100644
--- a/lib/src/lints/collapsible_let_in.rs
+++ b/lib/src/lints/collapsible_let_in.rs
@@ -26,10 +26,10 @@ impl Rule for CollapsibleLetIn {
26 if LetIn::cast(body.clone()).is_some(); 26 if LetIn::cast(body.clone()).is_some();
27 then { 27 then {
28 let first_annotation = node.text_range(); 28 let first_annotation = node.text_range();
29 let first_message = "This let-in expression contains a nested let-in expression"; 29 let first_message = "This `let in` expression contains a nested `let in` expression";
30 30
31 let second_annotation = body.text_range(); 31 let second_annotation = body.text_range();
32 let second_message = "This let-in expression is nested"; 32 let second_message = "This `let in` expression is nested";
33 33
34 let replacement_at = { 34 let replacement_at = {
35 let start = body 35 let start = body