Skip to content

Commit

Permalink
Merge pull request #300 from cuviper/raw_entry_v1
Browse files Browse the repository at this point in the history
Add an opt-in trait for "unstable" raw entries
  • Loading branch information
cuviper authored Jan 28, 2024
2 parents a1495fd + 54c487e commit 9edb1a4
Show file tree
Hide file tree
Showing 3 changed files with 558 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub mod serde_seq;
#[cfg(test)]
mod tests;

pub use self::core::raw_entry_v1::{self, RawEntryApiV1};
pub use self::core::{Entry, IndexedEntry, OccupiedEntry, VacantEntry};
pub use self::iter::{
Drain, IntoIter, IntoKeys, IntoValues, Iter, IterMut, Keys, Splice, Values, ValuesMut,
Expand Down
2 changes: 2 additions & 0 deletions src/map/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
mod entry;
mod raw;

pub mod raw_entry_v1;

use hashbrown::raw::RawTable;

use crate::vec::{self, Vec};
Expand Down
Loading

0 comments on commit 9edb1a4

Please sign in to comment.