Skip to content

Commit

Permalink
Merge pull request rust-lang#94 from cdisselkoen/derives-for-callsite…
Browse files Browse the repository at this point in the history
…value

Derive Clone, Copy, and Hash for CallSiteValue
  • Loading branch information
TheDan64 authored Jul 11, 2019
2 parents 0d7a64e + 351beb5 commit 89507bd
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 89507bd

Please sign in to comment.