Skip to content

Quelques warnings

warning: unused import: `termion::event::Key`
 --> src/main.rs:8:5
  |
8 | use termion::event::Key;
  |     ^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `termion::input::TermRead`
 --> src/main.rs:9:5
  |
9 | use termion::input::TermRead;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `std::io::BufReader`
  --> src/main.rs:25:5
   |
25 | use std::io::BufReader;
   |     ^^^^^^^^^^^^^^^^^^

warning: unused import: `std::io::BufRead`
  --> src/main.rs:22:5
   |
22 | use std::io::BufRead;
   |     ^^^^^^^^^^^^^^^^

warning: crate `Projet_Sys_Rust` should have a snake case name
  |
  = note: `#[warn(non_snake_case)]` on by default
  = help: convert the identifier to snake case: `projet_sys_rust`

warning: `Projet_Sys_Rust` (bin "Projet_Sys_Rust") generated 5 warnings