From 8e9e7e1b4cb11b1b2c273c93cd70f79faa275cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=88=AA=E5=AE=87?= <3364451258@qq.com> Date: Fri, 19 Jun 2026 21:17:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20clippy=20=E8=87=AA=E5=8A=A8=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=86=97=E4=BD=99=E9=97=AD=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index cb4ca36..0c70f03 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -167,7 +167,7 @@ fn main() -> anyhow::Result<()> { let logo_bytes = args .logo .as_ref() - .map(|p| fs::read(p)) + .map(fs::read) .transpose() .map_err(|e| anyhow::anyhow!("无法读取 logo 文件: {e}"))?;