Skip to content

Commit

Permalink
Made AggregateValue implement BasicValue instead of AnyValue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Geis committed Oct 26, 2017
1 parent e37f1bb commit db6f82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/values/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ macro_rules! trait_value_set {
}

/// Represents an aggregate value, built on top of other values.
pub trait AggregateValue: AnyValue {
pub trait AggregateValue: BasicValue {
/// Returns an enum containing a typed version of the `AggregateValue`.
fn as_aggregate_value_enum(&self) -> AggregateValueEnum {
AggregateValueEnum::new(self.as_value_ref())
Expand Down

0 comments on commit db6f82c

Please sign in to comment.