diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-10-22 19:42:42 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-22 19:42:42 +0900 |
| commit | 918f9cc88bf71db79067af325ca00d8cba7309b6 (patch) | |
| tree | 8b065561ea4673426143986f678523de9a3ce274 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | d91e9b7d772c6b9d2df9556983b28707e30f7b00 (diff) | |
| parent | 0dba9d0e424eeded14f891eb3e01575fcb9e580a (diff) | |
| download | rust-918f9cc88bf71db79067af325ca00d8cba7309b6.tar.gz rust-918f9cc88bf71db79067af325ca00d8cba7309b6.zip | |
Rollup merge of #88624 - kellerkindt:master, r=JohnTitor
Stabilize feature `saturating_div` for rust 1.58.0 The tracking issue is #89381 This seems like a reasonable simple change(?). The feature `saturating_div` was added as part of the ongoing effort to implement a `Saturating` integer type (see #87921). The implementation has been discussed [here](https://github.com/rust-lang/rust/pull/87921#issuecomment-899357720) and [here](https://github.com/rust-lang/rust/pull/87921#discussion_r691888556). It extends the list of saturating operations on integer types (like `saturating_add`, `saturating_sub`, `saturating_mul`, ...) by the function `fn saturating_div(self, rhs: Self) -> Self`. The stabilization of the feature `saturating_int_impl` (for the `Saturating` type) needs to have this stabilized first. Closes #89381
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
