patchutil,types: implement DiffRenderer interface for all diffs
types.NiceDiff and patchutil.Interdiff now implement the new interface. this allows us to remove the differing rendering logic necessary to present each kind of diff.
···2222 TextFragments []SplitFragment `json:"fragments"`
2323}
24242525-// used by html elements as a unique ID for hrefs
2626-func (d *SplitDiff) Id() string {
2525+func (d SplitDiff) Id() string {
2726 return d.Name
2827}
2928