Skip to content

Commit 89507bd

Browse files
authored
Merge pull request rust-lang#94 from cdisselkoen/derives-for-callsitevalue
Derive Clone, Copy, and Hash for CallSiteValue
2 parents 0d7a64e + 351beb5 commit 89507bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/values/call_site_value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use crate::values::FunctionValue;
1313
/// A value resulting from a function call. It may have function attributes applied to it.
1414
///
1515
/// This struct may be removed in the future in favor of an `InstructionValue<CallSite>` type.
16-
#[derive(Debug, PartialEq)]
16+
#[derive(Debug, PartialEq, Clone, Copy, Hash)]
1717
pub struct CallSiteValue(Value);
1818

1919
impl CallSiteValue {

0 commit comments

Comments
 (0)