Skip to content

Commit

Permalink
fix: doc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Oct 1, 2021
1 parent 3ff3c49 commit 1192236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package car

import "math"

// Options holds the configured options after applying a number of
// options holds the configured options after applying a number of
// Option funcs.
type options struct {
TraverseLinksOnlyOnce bool
Expand Down Expand Up @@ -38,7 +38,7 @@ func MaxTraversalLinks(MaxTraversalLinks uint64) Option {
}
}

// ApplyOptions applies given opts and returns the resulting Options.
// applyOptions applies given opts and returns the resulting options.
func applyOptions(opt ...Option) options {
opts := options{
TraverseLinksOnlyOnce: false, // default: recurse until exhausted
Expand Down

0 comments on commit 1192236

Please sign in to comment.