aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-06-14 20:46:07 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-06-14 20:46:07 +0200
commit7b8f2900497b6a94600302c5d751aee9ee959e2c (patch)
tree262f38a82ef5ff108d859d8693438d83214cff98
parentfdff68e5aa4c228cd6b0962bee53be39a3c306ad (diff)
downloadrefcat-7b8f2900497b6a94600302c5d751aee9ee959e2c.tar.gz
refcat-7b8f2900497b6a94600302c5d751aee9ee959e2c.zip
update docs
-rw-r--r--skate/zippy.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/skate/zippy.go b/skate/zippy.go
index e169af2..5ff7c68 100644
--- a/skate/zippy.go
+++ b/skate/zippy.go
@@ -340,7 +340,7 @@ func ZippyBrefAugment(bref, raw io.Reader, w io.Writer) error {
}
refs[i] = &ref
}
- matchedRefsExtend(matched, refs)
+ matchedRefsExtend(matched, refs) // XXX: Still duplicates (?)
for _, bref := range matched {
if err := enc.Encode(bref); err != nil {
return err
@@ -386,7 +386,7 @@ func matchedRefsExtend(matched []*BiblioRef, refs []*Ref) []*BiblioRef {
}
// uniqueMatches takes a list of bref docs (unserialized) and will return a
-// list of serialized bref docs, containing unique matches.
+// list of deserialized bref docs, containing unique matches only.
func uniqueMatches(docs []string) (result []*BiblioRef, err error) {
var (
brefs []*BiblioRef