diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-09-24 08:25:29 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-09-24 08:25:43 +0200 |
| commit | f34eafdcf9486189f594dc1e38a5b490bcba67ec (patch) | |
| tree | 3e56085584d5b10df49ac4090eb53ba1406aa72d /src/doc/reference.md | |
| parent | 07ca1ab1ec32ac99a61312ec07d66db5f3657040 (diff) | |
| download | rust-f34eafdcf9486189f594dc1e38a5b490bcba67ec.tar.gz rust-f34eafdcf9486189f594dc1e38a5b490bcba67ec.zip | |
reference: follow idiom in code snippet
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 83849574260..e8ac474b07e 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -921,7 +921,7 @@ An example of a function: ``` fn add(x: i32, y: i32) -> i32 { - return x + y; + x + y } ``` |
