pub fn generate_extracted_function(
name: &str,
params: &[String],
return_kind: &ReturnKind,
body_text: &str,
base_indent: &str,
lang: LangId,
indent_style: IndentStyle,
) -> StringExpand description
Generate the text for an extracted function.