Rollup merge of #31411 - tshepang:idiom, r=steveklabnik
This commit is contained in:
commit
cd418ba09b
1 changed files with 1 additions and 1 deletions
|
|
@ -3504,7 +3504,7 @@ An example of a `fn` type:
|
|||
|
||||
```
|
||||
fn add(x: i32, y: i32) -> i32 {
|
||||
return x + y;
|
||||
x + y
|
||||
}
|
||||
|
||||
let mut x = add(5,7);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue