Skip to main content

format_if_expr

Function format_if_expr 

Source
pub fn format_if_expr(
    element: &FormatElement,
    stream: &mut TokenStream<PreToken>,
)
Expand description

Formats an IfExpr.

ยงPanics

This will panic if the element does not have the expected children.