mirror of
https://github.com/notohh/rustlings.git
synced 2025-08-12 22:03:36 -04:00
Fix warnings
This commit is contained in:
parent
a4c07ca948
commit
b87aa98634
18 changed files with 28 additions and 8 deletions
solutions/01_variables
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue