Update option1.rs

This commit is contained in:
Sanjay K 2020-03-11 13:44:41 -04:00 committed by GitHub
parent 6d3a412d47
commit 9788496a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;