Skip to main content

symbol_text

Function symbol_text 

Source
pub fn symbol_text(s: &Symbol) -> String
Expand description

Build the text used to represent a symbol for embedding: name, signature, the human-readable descriptor path, and docstring — the tokens a natural-language query about this code would plausibly match.