pub fn first_line_of(node: Node<'_>, source: &[u8]) -> Option<String>Expand description
The first line of a node’s text, for use as a symbol signature.
Trailing whitespace is trimmed; the body of a multi-line definition is dropped, so the result stays a readable one-line summary.