Function ensure_no_suffix

Source
fn ensure_no_suffix(
    keyword: &Keyword,
    architecture: Option<Architecture>,
) -> Result<(), BridgeError>
Expand description

Ensures that a combination of a Keyword and an optional Architecture does not use an Architecture.

ยงErrors

Returns an error, if architecture provides an Architecture.