Skip to content

Commit

Permalink
all: Fix duplicate words in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
grimreaper committed Apr 11, 2024
1 parent e9b8bec commit bf0b140
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cache/dynacache/dynacache.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ func GetOrCreatePartition[K comparable, V any](c *Cache, name string, opts Optio
return p.(*Partition[K, V])
}

// At this point, we don't know the the number of partitions or their configuration, but
// At this point, we don't know the number of partitions or their configuration, but
// this will be re-adjusted later.
const numberOfPartitionsEstimate = 10
maxSize := opts.CalculateMaxSize(c.opts.MaxSize / numberOfPartitionsEstimate)
Expand Down
2 changes: 1 addition & 1 deletion docs/data/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4581,5 +4581,5 @@ tpl:
- urlize
Args:
- s
Description: URLize returns the the strings s formatted as an URL.
Description: URLize returns the strings s formatted as an URL.
Examples: []
2 changes: 1 addition & 1 deletion hugolib/content_map_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ func (h *HugoSites) resolveAndClearStateForIdentities(
}
}

// Drain the the cache eviction stack.
// Drain the cache eviction stack.
evicted := h.Deps.MemCache.DrainEvictedIdentities()
if len(evicted) < 200 {
changes = append(changes, evicted...)
Expand Down
2 changes: 1 addition & 1 deletion markup/internal/attributes/attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ type AttributesHolder struct {
// Attributes considered to be an option (code blocks)
options []Attribute

// What we send to the the render hooks.
// What we send to the render hooks.
attributesMapInit sync.Once
attributesMap map[string]any
optionsMapInit sync.Once
Expand Down
2 changes: 1 addition & 1 deletion tpl/urls/urls.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (ns *Namespace) RelURL(s any) (string, error) {
return ns.deps.PathSpec.RelURL(ss, false), nil
}

// URLize returns the the strings s formatted as an URL.
// URLize returns the strings s formatted as an URL.
func (ns *Namespace) URLize(s any) (string, error) {
ss, err := cast.ToStringE(s)
if err != nil {
Expand Down

0 comments on commit bf0b140

Please sign in to comment.