Skip to content

Commit c25b10b

Browse files
authored
fix: minor typo in doc comments: of -> off (#7)
minor typo fix
2 parents 604410b + 10f73df commit c25b10b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/Histogram/Histogram.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public struct Histogram<Count: FixedWidthInteger & Codable>: Codable {
126126
* If not specified the histogram will be constructed to implicitly track values
127127
* as low as 1.
128128
* - highestTrackableValue: The highest value to be tracked by the histogram. Must be a positive
129-
* integer that is `>= (2 * ``lowestDiscernibleValue``)`.
129+
* integer that is `>= (2 * lowestDiscernibleValue)`.
130130
* - numberOfSignificantValueDigits The number of significant decimal digits to which the histogram will
131131
* maintain value resolution and separation.
132132
* Default is 3.
@@ -240,7 +240,7 @@ public struct Histogram<Count: FixedWidthInteger & Codable>: Codable {
240240
/**
241241
* Record a value in the histogram and backfill based on an expected interval.
242242
*
243-
* Records a value in the histogram, will round this value of to a precision at or better
243+
* Records a value in the histogram, will round this value off to a precision at or better
244244
* than the ``numberOfSignificantValueDigits`` specified at construction time.
245245
*
246246
* This is specifically used for recording latency. If the value is larger than the `expectedInterval`
@@ -539,7 +539,7 @@ public struct Histogram<Count: FixedWidthInteger & Codable>: Codable {
539539
public let percentile: Double
540540

541541
/**
542-
* The percentile level that the iterator returning this ``IterationValue`` had iterated to.
542+
* The percentile level that the iterator returning this ``Histogram/Histogram/IterationValue`` had iterated to.
543543
* Generally, `percentileLevelIteratedTo` will be equal to or smaller than `percentile`,
544544
* but the same value point can contain multiple iteration levels for some iterators. E.g. a
545545
* percentile iterator can stop multiple times in the exact same value point (if the count at

0 commit comments

Comments
 (0)