Fix an assertion that wasn't doing what it said

This commit is contained in:
David Lattimore
2019-08-03 21:50:31 +10:00
committed by Benjamin Bouvier
parent bc1b56f739
commit 383ce584ae
2 changed files with 8 additions and 7 deletions

View File

@@ -102,7 +102,7 @@ impl Into<OperandConstraint> for Stack {
/// The `branch_range` argument must be provided for recipes that can encode
/// branch instructions. It is an `(origin, bits)` tuple describing the exact
/// range that can be encoded in a branch instruction.
#[derive(Clone, Hash)]
#[derive(Clone)]
pub struct EncodingRecipe {
/// Short mnemonic name for this recipe.
pub name: String,