mirror of
https://github.com/librekeys/picoforge.git
synced 2026-07-28 08:01:19 -07:00
chore(fmt): run cargo fmt with latest rustc
This commit is contained in:
@@ -222,8 +222,10 @@ impl ProgramSlotForm {
|
||||
match otp::modhex_decode(self.yk_public.read(cx).text().to_string().trim()) {
|
||||
Some(p) if !p.is_empty() && p.len() <= 16 => p,
|
||||
_ => {
|
||||
return self
|
||||
.notify(cx, "Public ID must be modhex (≤ 16 bytes) — use Generate");
|
||||
return self.notify(
|
||||
cx,
|
||||
"Public ID must be modhex (≤ 16 bytes) — use Generate",
|
||||
);
|
||||
}
|
||||
};
|
||||
let private: [u8; 6] =
|
||||
|
||||
Reference in New Issue
Block a user