reference: follow idiom in code snippet
This commit is contained in:
parent
07ca1ab1ec
commit
f34eafdcf9
@ -921,7 +921,7 @@ An example of a function:
|
||||
|
||||
```
|
||||
fn add(x: i32, y: i32) -> i32 {
|
||||
return x + y;
|
||||
x + y
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user