Skip to content

Commit

Permalink
docs: add comment to explain recursive transition to parsePath
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinalwadhwa committed Nov 9, 2018
1 parent 11e05d7 commit 8aa545d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions did.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ func (p *parser) parsePath() parserStep {
char := input[currentIndex]

if char == '/' {
// encountered / input may have another path segment, try to parse that next
next = p.parsePath
break
}
Expand Down

0 comments on commit 8aa545d

Please sign in to comment.