Skip to content

Commit cc2918c

Browse files
committed
feat(architecture): allow instruction help to be optional
1 parent 4dff504 commit cc2918c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/architecture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ pub struct Instruction<'a> {
239239
// modifying the data on deserialization
240240
pub definition: String,
241241
/// Help information of the instruction
242-
pub help: &'a str,
242+
pub help: Option<&'a str>,
243243
/// Properties of the instruction
244244
pub properties: Option<Vec<InstructionProperties>>,
245245
}

0 commit comments

Comments
 (0)