We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4cf6ea commit 86b9925Copy full SHA for 86b9925
relay-metrics/src/finite.rs
@@ -72,7 +72,7 @@ impl FiniteF64 {
72
Self((self.0 + other.0).clamp(f64::MIN, f64::MAX))
73
}
74
75
- /// Adds two numbers, saturating at the maximum and minimum representable values.
+ /// Subtracts two numbers, saturating at the maximum and minimum representable values.
76
pub fn saturating_sub(self, other: Self) -> Self {
77
Self((self.0 - other.0).clamp(f64::MIN, f64::MAX))
78
0 commit comments