瀏覽代碼

multiboot2-header: remove old clippy lint

Philipp Schuster 1 年之前
父節點
當前提交
6257635eb3
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      multiboot2-header/src/information_request.rs

+ 0 - 1
multiboot2-header/src/information_request.rs

@@ -99,7 +99,6 @@ pub struct InformationRequestHeaderTagIter<'a> {
 
 impl<'a> InformationRequestHeaderTagIter<'a> {
     fn new(count: u32, base_ptr: *const MbiTagTypeId) -> Self {
-        #[allow(clippy::default_constructed_unit_structs)]
         Self {
             i: 0,
             count,