Procházet zdrojové kódy

Temporarily hush warnings

Benjamin Sago před 8 roky
rodič
revize
6759a5f97e
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/options/parser.rs

+ 1 - 0
src/options/parser.rs

@@ -61,6 +61,7 @@ impl Flag {
 
 /// Whether redundant arguments should be considered a problem.
 #[derive(PartialEq, Debug)]
+#[allow(dead_code)] // until strict mode is actually implemented
 pub enum Strictness {
 
     /// Throw an error when an argument doesn’t do anything, either because