diff --git a/proptest/src/arbitrary/_alloc/alloc.rs b/proptest/src/arbitrary/_alloc/alloc.rs index 4ce971d9..69ed1987 100644 --- a/proptest/src/arbitrary/_alloc/alloc.rs +++ b/proptest/src/arbitrary/_alloc/alloc.rs @@ -19,7 +19,6 @@ use crate::arbitrary::*; use crate::strategy::statics::static_map; use crate::strategy::*; -arbitrary!(self::alloc::CannotReallocInPlace; self::alloc::CannotReallocInPlace); arbitrary!(self::alloc::Global; self::alloc::Global); // Not Debug. diff --git a/proptest/src/test_runner/config.rs b/proptest/src/test_runner/config.rs index 1289037d..a8472551 100644 --- a/proptest/src/test_runner/config.rs +++ b/proptest/src/test_runner/config.rs @@ -169,8 +169,7 @@ fn default_default_config() -> Config { // defaults. #[cfg(feature = "std")] lazy_static! { - static ref DEFAULT_CONFIG: Config = - { contextualize_config(default_default_config()) }; + static ref DEFAULT_CONFIG: Config = contextualize_config(default_default_config()); } /// Configuration for how a proptest test should be run.