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

View file

@ -15,7 +15,7 @@ fn main() {
let mut numbers: [Option<u16>; 5]; let mut numbers: [Option<u16>; 5];
for iter in 0..5 { for iter in 0..5 {
let number_to_add: u16 = { let number_to_add: u16 = {
((iter * 5) + 2) / (4 * 16); ((iter * 5) + 2) / (4 * 16)
}; };
numbers[iter] = number_to_add; numbers[iter] = number_to_add;