Skip to content

Commit

Permalink
macros(feat): allow any Data as value
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianSpeitel committed Mar 3, 2024
1 parent bfd2a55 commit 4cba283
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ macro_rules! impl_data {
$(
#[inline]
fn provide_value<'d>(&'d self, builder: &mut dyn $crate::value::ValueBuiler<'d>) {
use $crate::value::ValueType;
$($val.provide_to(builder);)+
$(
$val.provide_value(builder);
)+
}
)?

Expand Down

0 comments on commit 4cba283

Please sign in to comment.