Explorar o código

src/jit: Remove linter command unknown to cargo

Running "cargo check" on the package raises complaints about this linter
command. Let's remove it, as it seems that cargo-clippy does no longer
complain without it.
Quentin Monnet %!s(int64=2) %!d(string=hai) anos
pai
achega
c4ab4decb1
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/jit.rs

+ 0 - 1
src/jit.rs

@@ -83,7 +83,6 @@ macro_rules! emit_bytes {
         let size = mem::size_of::<$t>() as usize;
         assert!($jit.offset + size <= $jit.contents.len());
         unsafe {
-            #[allow(cast_ptr_alignment)]
             let mut ptr = $jit.contents.as_ptr().add($jit.offset) as *mut $t;
             *ptr = $data as $t;
         }