Comment typo.

This commit is contained in:
David Fifield 2025-08-19 14:50:23 +00:00
parent 74c39cc8e9
commit fd42bcea8a

View file

@ -192,7 +192,7 @@ func (r records) Less(i, j int) bool {
// formatAndClearCountryStats has the side effect of deleting all entries in m. // formatAndClearCountryStats has the side effect of deleting all entries in m.
func formatAndClearCountryStats(m *sync.Map, binned bool) string { func formatAndClearCountryStats(m *sync.Map, binned bool) string {
// Extract entries from the map into a slice of records, binning counts // Extract entries from the map into a slice of records, binning counts
// if asked to.. // if asked to.
rs := records{} rs := records{}
m.Range(func(cc, countPtr any) bool { m.Range(func(cc, countPtr any) bool {
count := *countPtr.(*uint64) count := *countPtr.(*uint64)