Skip to content

Commit 2b89b03

Browse files
committed
Expose insert_no_grow under the "raw" feature
1 parent dd344f4 commit 2b89b03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raw/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ impl<T> RawTable<T> {
916916
///
917917
/// This does not check if the given element already exists in the table.
918918
#[cfg_attr(feature = "inline-more", inline)]
919-
#[cfg(feature = "rustc-internal-api")]
919+
#[cfg(any(feature = "raw", feature = "rustc-internal-api"))]
920920
pub fn insert_no_grow(&mut self, hash: u64, value: T) -> Bucket<T> {
921921
unsafe {
922922
let index = self.find_insert_slot(hash);

0 commit comments

Comments
 (0)