split_into

Function split_into 

Source
pub fn split_into<'a>(
    text: &'a str,
    records: &mut Vec<&'a str>,
    errors: &mut Vec<&'a str>,
)
Expand description

拆分到调用者提供的容器以避免每次调用分配。

该函数会清空并填充 recordserrors。如果调用者在重复调用中重用这些 向量(例如在循环中),则可以避免每次调用分配新的 Vec