diff --git a/src/core/alloc/default.rs b/src/core/alloc/default.rs index 6e4128bf..4e2f8d7e 100644 --- a/src/core/alloc/default.rs +++ b/src/core/alloc/default.rs @@ -2,8 +2,8 @@ /// Always returns the empty string #[must_use] -pub fn memory_stats() -> String { Default::default() } +pub fn memory_stats() -> String { String::default() } /// Always returns the empty string #[must_use] -pub fn memory_usage() -> String { Default::default() } +pub fn memory_usage() -> String { String::default() }