From 5d177334f6c8fd3f8ebb42b2353f7a3a91504811 Mon Sep 17 00:00:00 2001 From: "iliya.saroukha" <iliya.saroukhanian@etu.hesge.ch> Date: Wed, 6 Sep 2023 11:56:23 +0200 Subject: [PATCH] removed unnecessary parentheses --- codes/rust_lang/part00/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/rust_lang/part00/src/main.rs b/codes/rust_lang/part00/src/main.rs index 094b36f..72cb307 100644 --- a/codes/rust_lang/part00/src/main.rs +++ b/codes/rust_lang/part00/src/main.rs @@ -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."); } -- GitLab