Remove old reference to basicMetricVec

Contrary to the code comment, I see no `basicMetricVec` implementation.
Grep'ing this project shows this is the only reference. So I suspect
it's an outdated comment and can be removed to minimize confusion.

I'm unclear whether other parts of that comment are also incorrect and
need updating.

Signed-off-by: Jeff Widman <jeff@jeffwidman.com>
This commit is contained in:
Jeff Widman 2019-10-17 19:55:03 -07:00
parent 5545057911
commit 0dc0c2165f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import (
// their label values. metricVec is not used directly (and therefore // their label values. metricVec is not used directly (and therefore
// unexported). It is used as a building block for implementations of vectors of // unexported). It is used as a building block for implementations of vectors of
// a given metric type, like GaugeVec, CounterVec, SummaryVec, and HistogramVec. // a given metric type, like GaugeVec, CounterVec, SummaryVec, and HistogramVec.
// It also handles label currying. It uses basicMetricVec internally. // It also handles label currying.
type metricVec struct { type metricVec struct {
*metricMap *metricMap