From c76e64dca2cb52910743f41a2dfd2beaa9846dbe Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Wed, 3 Aug 2022 11:16:08 -0400 Subject: [PATCH] fix grammar in doc comment --- prometheus/registry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus/registry.go b/prometheus/registry.go index ee61ebbe4..259cf9182 100644 --- a/prometheus/registry.go +++ b/prometheus/registry.go @@ -252,8 +252,8 @@ func (errs MultiError) MaybeUnwrap() error { } // Registry registers Prometheus collectors, collects their metrics, and gathers -// them into MetricFamilies for exposition. It implements both Registerer, -// Gatherer, and Collector. The zero value is not usable. Create instances with +// them into MetricFamilies for exposition. It implements Registerer, Gatherer, +// and Collector. The zero value is not usable. Create instances with // NewRegistry or NewPedanticRegistry. type Registry struct { mtx sync.RWMutex