Rollup merge of #31411 - tshepang:idiom, r=steveklabnik
This commit is contained in:
commit
cd418ba09b
@ -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…
x
Reference in New Issue
Block a user