depot/third_party/nixpkgs/pkgs/by-name/ke/key-rack/0001-fix-E0716.patch
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

27 lines
867 B
Diff

From 0b1d9759c43629dcd3d3a6216ea47b09516a5d84 Mon Sep 17 00:00:00 2001
From: seth <getchoo@tuta.io>
Date: Sat, 6 Jul 2024 18:59:50 -0400
Subject: [PATCH] fix E0716
doesn't seem to have popped up in upstream's CI. maybe this is only an
issue in rust versions < 1.79?
---
src/data/item.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/data/item.rs b/src/data/item.rs
index 43dcf6f..985be74 100644
--- a/src/data/item.rs
+++ b/src/data/item.rs
@@ -327,7 +327,7 @@ impl ItemSchema {
Self::Unknown(schema) => {
let info = crate::utils::AppInfo::new(schema);
if info.is_installed() {
- &format!("{schema}-symbolic")
+ return format!("{schema}-symbolic");
} else {
"dialog-password-symbolic"
}
--
2.45.1