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.
///
/// 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.
/// 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.
/// This means that the value of this `Recorder` will match the passed in value, rather than accumulate and sum the values up.
///
/// - parameters:
/// - value: Value to record.
@ -151,9 +149,8 @@ public class Recorder {
/// Record a value.
///
/// 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,
/// however the only operation required by this API is the ability to set a specific value.
///
/// This means that the value of this `Recorder` will match the passed in value, rather than accumulate and sum the values up.
///
/// - parameters:
/// - value: Value to record.
@inlinable