diff options
| author | mo8it <mo8it@proton.me> | 2024-07-04 13:38:35 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-07-04 13:38:35 +0200 |
| commit | b87aa986345cd80bc44c7fe7bffeb72f5fe0ddb5 (patch) | |
| tree | b9f2400168cfba69cb3f0914e337df2436843023 /solutions/01_variables/variables3.rs | |
| parent | a4c07ca948dd57c71fe1894d05308af03304dec8 (diff) | |
Fix warnings
Diffstat (limited to 'solutions/01_variables/variables3.rs')
| -rw-r--r-- | solutions/01_variables/variables3.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solutions/01_variables/variables3.rs b/solutions/01_variables/variables3.rs index 7db42a9..b493917 100644 --- a/solutions/01_variables/variables3.rs +++ b/solutions/01_variables/variables3.rs @@ -1,3 +1,5 @@ +#![allow(clippy::needless_late_init)] + fn main() { // Reading uninitialized variables isn't allowed in Rust! // Therefore, we need to assign a value first. |
