Skip to content

Commit

Permalink
Merge pull request #107 from progval/sort-triples
Browse files Browse the repository at this point in the history
sort_pairs: Make Triple fields public
  • Loading branch information
vigna authored Aug 8, 2024
2 parents fcdf955 + 2f65f3e commit a8dd811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/sort_pairs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ pub type BitReader = BufBitReader<NE, MemWordReader<u32, ArcMmapHelper<u32>>>;
/// nodes.
#[derive(Clone, Debug, Copy)]
pub struct Triple<L: Copy> {
pair: [usize; 2],
label: L,
pub pair: [usize; 2],
pub label: L,
}

impl<T: Copy> RadixKey for Triple<T> {
Expand Down

0 comments on commit a8dd811

Please sign in to comment.