Skip to main content

free_fn_signature

Function free_fn_signature 

Source
fn free_fn_signature(name: &str, f: &FnDecl) -> String
Expand description

Render a free function’s signature for the completion detail, the same way hover and signature help do (symbols::type_ref_str) — one format, never divergent. Mirrors signature help: no generic-parameter list.