Skip to main content

expand

Function expand 

Source
pub fn expand(line: &str, pastes: &[Paste]) -> String
Expand description

The line with every chip it contains replaced by its text, left to right, once each.

#[must_use] on purpose: forgetting to call this sends a chip to the model, which reads as a placeholder the user typed and answers about nothing.