Sfoglia il codice sorgente

Temporarily hush warnings

Benjamin Sago 8 anni fa
parent
commit
6759a5f97e
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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.
 /// Whether redundant arguments should be considered a problem.
 #[derive(PartialEq, Debug)]
 #[derive(PartialEq, Debug)]
+#[allow(dead_code)] // until strict mode is actually implemented
 pub enum Strictness {
 pub enum Strictness {
 
 
     /// Throw an error when an argument doesn’t do anything, either because
     /// Throw an error when an argument doesn’t do anything, either because