aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skate/zippy.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/skate/zippy.go b/skate/zippy.go
index 5ff7c68..70d42fc 100644
--- a/skate/zippy.go
+++ b/skate/zippy.go
@@ -358,7 +358,8 @@ func ZippyBrefAugment(bref, raw io.Reader, w io.Writer) error {
// matchedRefsExtend takes a set of (unique) biblioref docs and will emit that
// set of biblioref docs (unchanged) plus raw references as biblioref, which
-// did not result in a match (determined by e.g. ref key and index).
+// did not result in a match (determined by e.g. ref key and index). XXX: We
+// may have duplicate refs as well - how to distinguish them?
func matchedRefsExtend(matched []*BiblioRef, refs []*Ref) []*BiblioRef {
s := set.New() // store key + index of matched items
for _, m := range matched {