{"ast_node_type":"function","tokens":[{"end":54,"kind":"keyword","start":0,"text":"None"}]}
        None => format!("fn f(x: <{type_ref}>) {{}}"),
        Some(trait_ref) => format!("fn f(x: <{type_ref} as {trait_ref}>) {{}}"),
    };