Skip to content

Commit

Permalink
Merge pull request #9 from seekstar/ListIndex-Hash
Browse files Browse the repository at this point in the history
Implement Hash for ListIndex
  • Loading branch information
Fairglow authored Dec 8, 2024
2 parents 76d3701 + afbb08b commit a5ea673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listindex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::{convert::TryFrom, default::Default, fmt, num::NonZeroU32};

/// Vector index for the elements in the list. They are typically not
/// squential.
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq, Hash)]
pub struct ListIndex {
ndx: Option<NonZeroU32>
}
Expand Down

0 comments on commit a5ea673

Please sign in to comment.