diff options
| author | Sanjay K <sanjaykdragon@users.noreply.github.com> | 2020-03-11 13:44:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-11 13:44:41 -0400 |
| commit | 9788496a8588592e99d66ca9f5428531ce7f3155 (patch) | |
| tree | e373371056eebf5ea41d1eb0d71fcc83e622653b /exercises/option | |
| parent | 6d3a412d4768a06dc69b5f1c9d5ebc9bc7f42650 (diff) | |
Update option1.rs
Diffstat (limited to 'exercises/option')
| -rw-r--r-- | exercises/option/option1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/option/option1.rs b/exercises/option/option1.rs index c5b67b8..91da0be 100644 --- a/exercises/option/option1.rs +++ b/exercises/option/option1.rs @@ -15,7 +15,7 @@ fn main() { let mut numbers: [Option<u16>; 5]; for iter in 0..5 { let number_to_add: u16 = { - ((iter * 5) + 2) / (4 * 16); + ((iter * 5) + 2) / (4 * 16) }; numbers[iter] = number_to_add; |
