Skip to content

Commit 0077f58

Browse files
committed
Split some overly long lines
1 parent d2aa5b6 commit 0077f58

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/items/functions.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,13 @@ A _function_ consists of a [block] (that's the _body_ of the function),
4646
along with a name, a set of parameters, and an output type.
4747
Other than a name, all these are optional.
4848
Functions are declared with the keyword `fn`.
49-
Functions may declare a set of *input* [*variables*][variables] as parameters, through which the caller passes arguments into the function, and the *output* [*type*][type] of the value the function will return to its caller on completion.
49+
Functions may declare a set of *input* [*variables*][variables] as parameters,
50+
through which the caller passes arguments into the function, and the *output*
51+
[*type*][type] of the value the function will return to its caller on completion.
5052
If the output type is not explicitly stated, it is the [unit type].
5153

52-
When referred to, a _function_ yields a first-class *value* of the corresponding zero-sized [*function item type*], which when called evaluates to a direct call to the function.
54+
When referred to, a _function_ yields a first-class *value* of the corresponding
55+
zero-sized [*function item type*], which when called evaluates to a direct call to the function.
5356

5457
For example, this is a simple function:
5558
```rust

0 commit comments

Comments
 (0)