Skip to main content

plan_with

Function plan_with 

Source
pub fn plan_with<M: Default>(
    parts: Vec<(M, String)>,
    split: impl Fn(&str) -> Vec<String>,
) -> Vec<(M, String, Option<Ask>)>
Expand description

plan with the caller’s paragraph splitter.