Skip to content

Commit

Permalink
Fix names of "auto-impl" macros
Browse files Browse the repository at this point in the history
  • Loading branch information
pnevyk committed Aug 8, 2024
1 parent 5755449 commit 26cce4f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gryf/src/core/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ mod imp {
deref_neighbors!(&);
deref_neighbors!(&mut);

macro_rules! deref_vertex_id_iterable {
macro_rules! deref_vertex_set {
($($ref_kind:tt)*) => {
impl<G> VertexSet for $($ref_kind)* G
where
Expand Down Expand Up @@ -440,10 +440,10 @@ mod imp {
}
}

deref_vertex_id_iterable!(&);
deref_vertex_id_iterable!(&mut);
deref_vertex_set!(&);
deref_vertex_set!(&mut);

macro_rules! deref_edge_id_iterable {
macro_rules! deref_edge_set {
($($ref_kind:tt)*) => {
impl<G> EdgeSet for $($ref_kind)* G
where
Expand Down Expand Up @@ -498,6 +498,6 @@ mod imp {
}
}

deref_edge_id_iterable!(&);
deref_edge_id_iterable!(&mut);
deref_edge_set!(&);
deref_edge_set!(&mut);
}

0 comments on commit 26cce4f

Please sign in to comment.