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
Branches
No related tags found
1 merge request!48removed unnecessary parentheses
Pipeline #26059 passed
......@@ -14,7 +14,7 @@ fn main() {
const SIZE: usize = 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.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment