Remove some dead code (#3970)

This commit removes methods that are never used between crates or trait
impls like `Clone` which may have been used one day but are no longer used.
This commit is contained in:
Alex Crichton
2022-03-30 13:51:34 -05:00
committed by GitHub
parent d1d10dc8da
commit 453feb6f82
6 changed files with 11 additions and 46 deletions

View File

@@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};
/// Note that this is currently primarily documented as cranelift's
/// `binemit::StackMap`, so for detailed documentation about this please read
/// the docs over there.
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
#[derive(Debug, Serialize, Deserialize)]
pub struct StackMap {
bits: Box<[u32]>,
mapped_words: u32,