mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
fix(keyring): declare msg mutable for cfg(windows) push_str (E0596) (#4772)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
e2f9014575
commit
dfa573859c
@@ -294,7 +294,9 @@ impl SecretStore {
|
||||
};
|
||||
|
||||
let hex_key = read_result.with_context(|| {
|
||||
let msg = format!(
|
||||
// `mut` is only exercised inside the #[cfg(windows)] block below.
|
||||
#[cfg_attr(not(windows), allow(unused_mut))]
|
||||
let mut msg = format!(
|
||||
"Failed to read secret key file at {}",
|
||||
self.key_path.display()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user