pub fn perform_edit(
    tree: &mut Tree,
    input: &mut Vec<u8>,
    edit: &Edit
) -> InputEdit