Ver código fonte

Fix `clippy 1.85.0` (#3576)

acheron 7 meses atrás
pai
commit
c869e11a83
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lang/attribute/account/src/lib.rs

+ 1 - 1
lang/attribute/account/src/lib.rs

@@ -456,7 +456,7 @@ pub fn zero_copy(
         Some(_attr) => quote! {},
         None => {
             if is_unsafe {
-                quote! {#[repr(packed)]}
+                quote! {#[repr(Rust, packed)]}
             } else {
                 quote! {#[repr(C)]}
             }