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> {
|
impl<T: 'static, S: Storage<T>> GenerationalBox<T, S> {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub fn validate(&self) -> bool {
|
pub(crate) fn validate(&self) -> bool {
|
||||||
#[cfg(any(debug_assertions, feature = "check_generation"))]
|
#[cfg(any(debug_assertions, feature = "check_generation"))]
|
||||||
{
|
{
|
||||||
self.raw
|
self.raw
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ pub use dependency::*;
|
|||||||
mod map;
|
mod map;
|
||||||
pub use map::*;
|
pub use map::*;
|
||||||
|
|
||||||
// mod comparer;
|
mod comparer;
|
||||||
// pub use comparer::*;
|
pub use comparer::*;
|
||||||
|
|
||||||
mod global;
|
mod global;
|
||||||
pub use global::*;
|
pub use global::*;
|
||||||
|
|||||||
Reference in new issue
Block a user