Slight wording adjustment after review

This commit is contained in:
Konrad `ktoso` Malawski 2019-07-30 14:17:52 +09:00
parent 4cc286a726
commit e874fcea08
1 changed files with 3 additions and 6 deletions

View File

@ -137,9 +137,7 @@ public class Recorder {
/// Record a value. /// Record a value.
/// ///
/// Recording a value is meant to have "set" semantics, rather than "add" semantics. /// Recording a value is meant to have "set" semantics, rather than "add" semantics.
/// This means that the value of this `Recorder` will match whatever you pass in here. /// This means that the value of this `Recorder` will match the passed in value, rather than accumulate and sum the values up.
/// Metrics implementations may choose to provide additional "add" or other operations meant to modify an existing value,
/// however the only operation required by this API is the ability to set a specific value.
/// ///
/// - parameters: /// - parameters:
/// - value: Value to record. /// - value: Value to record.
@ -151,8 +149,7 @@ public class Recorder {
/// Record a value. /// Record a value.
/// ///
/// Recording a value is meant to have "set" semantics, rather than "add" semantics. /// Recording a value is meant to have "set" semantics, rather than "add" semantics.
/// Metrics implementations may choose to provide additional "add" or other operations meant to modify an existing value, /// This means that the value of this `Recorder` will match the passed in value, rather than accumulate and sum the values up.
/// however the only operation required by this API is the ability to set a specific value.
/// ///
/// - parameters: /// - parameters:
/// - value: Value to record. /// - value: Value to record.