mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
Update option1.rs
This commit is contained in:
parent
6d3a412d47
commit
9788496a85
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue