From 2ab427fe99f09883ead44922999af44de19e5a25 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 2 Jun 2024 00:21:08 +0000 Subject: [PATCH] Fix default-trait-access --- src/core/alloc/default.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() }