Skip to main content

rebased

Function rebased 

Source
pub fn rebased<T: PartialEq + Clone>(
    shown: &[T],
    value: &[T],
    current: &[T],
) -> Vec<T>
Expand description

A list’s change, from what an editor showed (shown) to what it sends (value), set over the list as the file holds it now (current): what it took out taken out, what it added added, the rest as current holds it; the editor’s order for what it holds, then what it never showed. Nothing changed meanwhile: value itself.