Skip to content

Commit 93af7c9

Browse files
committed
tweak
1 parent 144a0f3 commit 93af7c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2021/12/error-message-style-guides.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The Racket guide proposes to use the following general structure for errors:
6565
found instead.'
6666

6767
The Rust guides says to avoid "Did you mean?" and questions in general, and
68-
wants the compiler to instead be explicit why something was suggested. The
68+
wants the compiler to instead be explicit about why something was suggested. The
6969
example the Rust guide gives is: 'Compare "did you mean: Foo" vs. "there is a
7070
struct with a similar name: Foo".' Racket goes further and forbids
7171
suggestions altogether because "Students will follow well‐meaning‐but‐wrong

0 commit comments

Comments
 (0)