Skip to content

Commit

Permalink
Derive Clone, Copy, and Hash for CallSiteValue
Browse files Browse the repository at this point in the history
  • Loading branch information
cdisselkoen committed Jul 3, 2019
1 parent 0d7a64e commit 351beb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/values/call_site_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::values::FunctionValue;
/// A value resulting from a function call. It may have function attributes applied to it.
///
/// This struct may be removed in the future in favor of an `InstructionValue<CallSite>` type.
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Clone, Copy, Hash)]
pub struct CallSiteValue(Value);

impl CallSiteValue {
Expand Down

0 comments on commit 351beb5

Please sign in to comment.