Function architecture_suffix

Source
fn architecture_suffix(input: &mut &str) -> ModalResult<Option<Architecture>>
Expand description

Recognizes and returns the architecture suffix of a keyword, if it exists.

Returns None if no architecture suffix is found.

ยงExamples

sha256sums_i386 = 0db1b39fd70097c6733cdcce56b1559ece5521ec1aad9ee1d520dda73eff03d0
          ^^^^^
        This is the suffix with `i386` being the architecture.