ソースを参照

Removed a warning when compiling with 'log' feature

Tom Almeida 6 年 前
コミット
37dbab7228
1 ファイル変更0 行追加1 行削除
  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