Skip to content

Commit

Permalink
Slightly adjust breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Oct 16, 2024
1 parent fc6383f commit d99055f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content/language/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,10 @@ More about those in the next section.
## Function types

You can specify the type of a function, which is known as a *function type*.
A function type is obtained from a function declaration header by replacing
the function name by the keyword `Function`. Moreover, you are allowed to omit
the names of positional parameters, but the names of named parameters can't
be omitted. For example:
A function type is obtained from a function declaration header by
replacing the function name by the keyword `Function`.
Moreover, you are allowed to omit the names of positional parameters, but
the names of named parameters can't be omitted. For example:

<?code-excerpt "misc/lib/language_tour/functions.dart (function-type)"?>
```dart
Expand Down

0 comments on commit d99055f

Please sign in to comment.