chore: update Rust toolchain to version 1.91 and adjust edition in rustfmt configuration

This commit is contained in:
Tunglies
2025-11-09 16:31:37 +08:00
parent c763fdd233
commit f644036e08
5 changed files with 10 additions and 3 deletions

View File

@@ -92,7 +92,8 @@ impl WebDavClient {
|| verge.webdav_username.is_none()
|| verge.webdav_password.is_none()
{
let msg: String = "Unable to create web dav client, please make sure the webdav config is correct".into();
let msg: String =
"Unable to create web dav client, please make sure the webdav config is correct".into();
return Err(anyhow::Error::msg(msg));
}

View File

@@ -262,7 +262,9 @@ impl DmabufDecision {
if intel_gpu.inconclusive {
decision.message = Some("Wayland 上检测到 Intel GPU但缺少 boot_vga 信息:预防性禁用 WebKit DMABUF若确认非主 GPU 可通过 CLASH_VERGE_DMABUF=1 覆盖。".into());
} else {
decision.message = Some("Wayland 上检测到 Intel 主 GPU (0x8086):禁用 WebKit DMABUF 以避免帧缓冲失败。".into());
decision.message = Some(
"Wayland 上检测到 Intel 主 GPU (0x8086):禁用 WebKit DMABUF 以避免帧缓冲失败。".into(),
);
}
} else if session.is_wayland {
decision.message = Some(