Fix typo in comments

Signed-off-by: debiandebiandebian <debiandebiandebiandebian@gmail.com>
This commit is contained in:
debiandebiandebian 2021-02-08 08:58:11 +09:00
parent b8fcd28885
commit 9443f4449b
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ type Metric interface {
} }
// Opts bundles the options for creating most Metric types. Each metric // Opts bundles the options for creating most Metric types. Each metric
// implementation XXX has its own XXXOpts type, but in most cases, it is just be // implementation XXX has its own XXXOpts type, but in most cases, it is just
// an alias of this type (which might change when the requirement arises.) // an alias of this type (which might change when the requirement arises.)
// //
// It is mandatory to set Name to a non-empty string. All other fields are // It is mandatory to set Name to a non-empty string. All other fields are

View File

@ -167,8 +167,8 @@ func (m *MetricVec) CurryWith(labels Labels) (*MetricVec, error) {
// calling the newMetric function provided during construction of the // calling the newMetric function provided during construction of the
// MetricVec). // MetricVec).
// //
// It is possible to call this method without using the returned Metry to only // It is possible to call this method without using the returned Metric to only
// create the new Metric but leave it in its intitial state. // create the new Metric but leave it in its initial state.
// //
// Keeping the Metric for later use is possible (and should be considered if // Keeping the Metric for later use is possible (and should be considered if
// performance is critical), but keep in mind that Reset, DeleteLabelValues and // performance is critical), but keep in mind that Reset, DeleteLabelValues and