aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/collapsible_let_in.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-10-19 11:30:03 +0100
committerAkshay <[email protected]>2021-10-19 11:30:03 +0100
commitd666cfa6b1739ac17d080790068e31eb26bb9c4a (patch)
tree814ffd195695ca5e10aef49039be83995127f366 /lib/src/lints/collapsible_let_in.rs
parent214e3bc4b675b08ce4df76b1373f4548949e67ee (diff)
rework few error messages
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