Skip to content

Commit 5787041

Browse files
committed
Auto merge of #386 - stepancheg:unnecessary-nightly, r=Amanieu
Wrong nightly guard in RawTable::data_start There's nothing nightly specific in this function, and also `data_end` is not guarded.
2 parents c97bb82 + b50d9a7 commit 5787041

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
@@ -516,7 +516,7 @@ impl<T, A: Allocator + Clone> RawTable<T, A> {
516516

517517
/// Returns pointer to start of data table.
518518
#[inline]
519-
#[cfg(feature = "nightly")]
519+
#[cfg(any(feature = "raw", feature = "nightly"))]
520520
pub unsafe fn data_start(&self) -> *mut T {
521521
self.data_end().as_ptr().wrapping_sub(self.buckets())
522522
}

0 commit comments

Comments
 (0)