Skip to content

Commit

Permalink
Fix arrow symbol typo in the functions.md (#5899)
Browse files Browse the repository at this point in the history
In the first note, in the first sentence, the arrow symbol is written as
'=\\>'. The backslash character must be removed.
  • Loading branch information
kamil-krawczyk authored Jun 10, 2024
1 parent fd7bc4f commit d46161e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/language/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The <code>=> <em>expr</em></code> syntax is a shorthand for
is sometimes referred to as _arrow_ syntax.

:::note
Only _expressions_ can appear between the arrow (`=\>`) and the semicolon (`;`).
Only _expressions_ can appear between the arrow (`=>`) and the semicolon (`;`).
Expressions evaluate to values.
This means that you can't write a statement where Dart expects a value.
For example,
Expand Down

0 comments on commit d46161e

Please sign in to comment.