Skip to main content

needs_preview

Function needs_preview 

Source
pub fn needs_preview(
    ctx: &Context<'_>,
    cmd: &Simple,
    stance: Stance,
) -> Result<Needs, &'static str>
Expand description

The rule’s question: would this push publish an interface change that no approved preview covers? Ok fires the rule and says why; Err names why it did not.