make validate private again
This commit is contained in:
1 parent
079fec3be6
commit
89b7784d31
2 files changed
+3
-3
No files matched your search
@@ -68,7 +68,7 @@ impl<T: 'static, S: AnyStorage> Debug for GenerationalBox<T, S> {
|
||||
|
||||
impl<T: 'static, S: Storage<T>> GenerationalBox<T, S> {
|
||||
#[inline(always)]
|
||||
pub fn validate(&self) -> bool {
|
||||
pub(crate) fn validate(&self) -> bool {
|
||||
#[cfg(any(debug_assertions, feature = "check_generation"))]
|
||||
{
|
||||
self.raw
|
||||
|
||||
Reference in new issue
Block a user