Quellcode durchsuchen

Removed a warning when compiling with 'log' feature

Tom Almeida vor 6 Jahren
Ursprung
Commit
37dbab7228
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
  1. 0 1
      src/log.rs

+ 0 - 1
src/log.rs

@@ -349,7 +349,6 @@ pub mod internal {
     }
 
     /// Check if this log level is enabled.
-    #[allow(absurd_extreme_comparisons)]
     #[inline]
     pub fn level(lv: u8) -> bool {
         lv >= config::MIN_LOG_LEVEL