Closed sdrave closed 4 years ago
Slices in go are half-open intervals, so using sl[0:last-1] and sl[last] in abbrevAuthors will return all authors except the second-to-last.
sl[0:last-1]
sl[last]
abbrevAuthors
This PR changes the behavior to return all authors.
Thank you -- this is a good catch!
Slices in go are half-open intervals, so using
sl[0:last-1]
andsl[last]
inabbrevAuthors
will return all authors except the second-to-last.This PR changes the behavior to return all authors.