From 0d90987df56c04e3bf132c74004f8996dafb6474 Mon Sep 17 00:00:00 2001 From: dragon-zhang Date: Thu, 27 Feb 2025 18:25:57 +0800 Subject: [PATCH] fix clippy --- monoio/src/builder.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monoio/src/builder.rs b/monoio/src/builder.rs index e7fb8728..860c4880 100644 --- a/monoio/src/builder.rs +++ b/monoio/src/builder.rs @@ -40,6 +40,8 @@ impl Default for RuntimeBuilder { /// [monoio::blocking::BlockingStrategy] is to execute tasks on the local thread. In other /// words, there is no thread pool involved—all blocking I/O operations and heavy computations /// will block the current thread. + #[allow(unused_attributes)] + #[must_use] fn default() -> Self { RuntimeBuilder::::new() }