Commit 5eab28e
committed
Stabilize the Saturating type (saturating_int_impl, rust-langgh-87920)
Also stabilizes saturating_int_assign_impl, rust-langgh-92354.
And also make pub fns const where the underlying saturating_*
fns became const in the meantime since the Saturating type was
created.1 parent 0bb4073 commit 5eab28e
File tree
5 files changed
+93
-102
lines changed- alloc/src
- core/src/num
- std/src
5 files changed
+93
-102
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | 147 | | |
149 | 148 | | |
150 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | | - | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
0 commit comments