format_adv_ext_line

Function format_adv_ext_line 

Source
fn format_adv_ext_line<S: Scope, W: Write>(
    ctx: &S,
    w: &mut W,
    ext_type: ExtensionType,
    detail: AnyRef<'_>,
) -> Result
Expand description

Textify a single enhancement or optimization line.

Emits one of:

  • {indent}+ Enh:Name[args]
  • {indent}+ Opt:Name[args]