Skip to content

Commit

Permalink
Re-export Entry types at top level (#302)
Browse files Browse the repository at this point in the history
This makes it easy to `use dashmap::{DashMap, Entry}` rather than
requiring `dashmap::mapref::entry::Entry`.

This also makes it convenient to use `dashmap::Entry` as a qualified
type, in code that has other types named `Entry`.
  • Loading branch information
joshtriplett authored Jun 17, 2024
1 parent 92d64ba commit 4be6f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use core::iter::FromIterator;
use core::ops::{BitAnd, BitOr, Shl, Shr, Sub};
use crossbeam_utils::CachePadded;
use iter::{Iter, IterMut, OwningIter};
use mapref::entry::{Entry, OccupiedEntry, VacantEntry};
pub use mapref::entry::{Entry, OccupiedEntry, VacantEntry};
use mapref::multiple::RefMulti;
use mapref::one::{Ref, RefMut};
use once_cell::sync::OnceCell;
Expand Down

0 comments on commit 4be6f57

Please sign in to comment.