Просмотр исходного кода

Remove unused `allow(dead_code)`

See https://github.com/rust-lang/rust/commit/31fe9628cf830a08e7194a446f66c668aaea86e9.
Tamir Duberstein 7 месяцев назад
Родитель
Сommit
5397c1c
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      aya-log/src/lib.rs

+ 0 - 2
aya-log/src/lib.rs

@@ -76,11 +76,9 @@ use bytes::BytesMut;
 use log::{error, Log, Record};
 use thiserror::Error;
 
-#[allow(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/120770): Remove when false positive is fixed.
 #[derive(Copy, Clone)]
 #[repr(transparent)]
 struct RecordFieldWrapper(RecordField);
-#[allow(dead_code)] // TODO(https://github.com/rust-lang/rust/issues/120770): Remove when false positive is fixed.
 #[derive(Copy, Clone)]
 #[repr(transparent)]
 struct ArgumentWrapper(Argument);