const-decimal 0.3.0

Integer-backed decimals with constant precision
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
[[disallowed-methods]]
path = "core::cmp::Ord::min"
reason = '''
Too easy to misread `x.min(y)` as "let the minimum value of `x` be `y`" when it actually means the exact opposite;
Use `std::cmp::min` instead.
'''

[[disallowed-methods]]
path = "core::cmp::Ord::max"
reason = '''
Too easy to misread `x.max(y)` as "let the maximum value of `x` be `y`" when it actually means the exact opposite;
Use `std::cmp::max` instead.
'''