Skip to content

Commit

Permalink
Rename impl macro in iter_into.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartossh committed Jan 11, 2025
1 parent 6f98fb7 commit ab98f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/redstone/src/helpers/iter_into.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl<U: Copy, T: Copy + Into<U>> IterIntoOpt<Vec<Option<U>>> for Vec<T> {
}
}

macro_rules! impl_iter_into_hex_to_byte {
macro_rules! impl_iter_into_converter {
($(
($receiver:ident,
$converter:expr)
Expand All @@ -49,7 +49,7 @@ macro_rules! impl_iter_into_hex_to_byte {
)*
};
}
impl_iter_into_hex_to_byte!((SignerAddress, hex_to_bytes), (FeedId, make_feed_id));
impl_iter_into_converter!((SignerAddress, hex_to_bytes), (FeedId, make_feed_id));

#[cfg(test)]
mod iter_into_tests {
Expand Down

0 comments on commit ab98f59

Please sign in to comment.