Fix unchecked build.

This commit is contained in:
Stephen Chung 2021-06-29 23:29:05 +08:00
parent 69352d74c2
commit c87645ba77

View File

@ -718,6 +718,7 @@ pub struct Limits {
pub max_map_size: Option<NonZeroUsize>, pub max_map_size: Option<NonZeroUsize>,
} }
#[cfg(not(feature = "unchecked"))]
impl Default for Limits { impl Default for Limits {
fn default() -> Self { fn default() -> Self {
Self { Self {