Skip to content
Snippets Groups Projects
Commit b5181d4d authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Merge branch 'main' into 'main'

removed unnecessary parentheses

See merge request orestis.malaspin/rust-101!48
parents e3fecb83 5d177334
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ fn main() { ...@@ -14,7 +14,7 @@ fn main() {
const SIZE: usize = 9; const SIZE: usize = 9;
let tab: [i32; SIZE] = [10, 32, 12, 43, 52, 53, 83, 2, 9]; let tab: [i32; SIZE] = [10, 32, 12, 43, 52, 53, 83, 2, 9];
if (SIZE == 0) { if SIZE == 0 {
panic!("Size is of tab = 0."); panic!("Size is of tab = 0.");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment