pub fn merge(logs: &[AuthorLog]) -> Vec<Annotation>Expand description
Fold every author’s log into the annotations that survive.
Within one log, later lines win over earlier ones, and position in the file is the ordering. Across logs there is nothing to order: an id belongs to exactly one author, so two logs never describe the same record, which is why the union is commutative and why no lock is needed anywhere in this design.