v0.3.6-pre.003

This commit is contained in:
2026-09-01 11:58:38 +02:00
parent cb670952e8
commit f92c22d55a
12 changed files with 604 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-program-api/src/program_instruction_decode.rs
// version: 1
// version: 2
/// Recognition strength reported by one Program instruction implementation.
///
@@ -38,10 +38,10 @@ pub enum ProgramInstructionDecodeOutcome<Decoded> {
impl<Decoded> std::fmt::Debug for ProgramInstructionDecodeOutcome<Decoded> {
fn fmt(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Self::Decoded(_) => return formatter.write_str("Decoded"),
Self::Unsupported => return formatter.write_str("Unsupported"),
}
return match self {
Self::Decoded(_) => formatter.write_str("Decoded"),
Self::Unsupported => formatter.write_str("Unsupported"),
};
}
}