mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix warning in 1.75.0; breaking change with earlier rust versions
This is unfortunate, and calling this out in a single commit because this is a dubious decision to achieve warning-free code for such a minor thing.
This commit is contained in:
parent
5f25e2b992
commit
0d80912f0a
1 changed files with 2 additions and 1 deletions
|
|
@ -94,7 +94,8 @@ impl<'a> AlertModalBuilder<'a> {
|
|||
final_placeholders = Some(pl)
|
||||
}
|
||||
0 => (),
|
||||
_ => panic!("somehow len of placeholders was neither zero or >= 1...?"),
|
||||
// Note: if you are getting an error on compilation, this line below is required for Rust < 1.75.0
|
||||
// _ => panic!("somehow len of placeholders was neither zero or >= 1...?"),
|
||||
}
|
||||
|
||||
let mut spec = ManagedPromptWithTextResponse {
|
||||
|
|
|
|||
Loading…
Reference in a new issue