Skip to content

Commit cd418ba

Browse files
committed
Rollup merge of #31411 - tshepang:idiom, r=steveklabnik
2 parents 73db842 + 85b19d8 commit cd418ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3504,7 +3504,7 @@ An example of a `fn` type:
35043504

35053505
```
35063506
fn add(x: i32, y: i32) -> i32 {
3507-
return x + y;
3507+
x + y
35083508
}
35093509
35103510
let mut x = add(5,7);

0 commit comments

Comments
 (0)