render_tuple_lit

Function render_tuple_lit 

Source
pub(crate) fn render_tuple_lit(
    ctx: &CompletionContext<'_>,
    snippet_cap: Option<SnippetCap>,
    fields: &[Field],
    path: &str,
) -> RenderedLiteral
Expand description

Render a tuple type (or sub-type) to a RenderedCompound. Use None for the name argument for an anonymous type.