rust/library/core
bors 7f82ddb875 Auto merge of #82680 - jturner314:div_euclid-docs, r=JohnTitor
Fix inequality in docs for div_euclid

This commit fixes the statement of the inequality that the Euclidean remainder satisfies. (The remainder is guaranteed to be less than abs(rhs), not rhs.) It also rewords the documentation to make it a little easier to read.

(You might wonder why I've written `abs(rhs)` instead of `rhs.abs()`. Two reasons: first, the `rem_euclid` docs use `abs(rhs)` instead of `rhs.abs()`, and second, the absolute value here is the mathematical absolute value, not the the `.abs()` operation which may overflow.)
2021-03-22 09:37:50 +00:00
..
benches Auto merge of #81358 - mcastorina:to-upper-lower-speed, r=joshtriplett 2021-03-17 11:17:18 +00:00
src Auto merge of #82680 - jturner314:div_euclid-docs, r=JohnTitor 2021-03-22 09:37:50 +00:00
tests Rollup merge of #79208 - LeSeulArtichaut:stable-unsafe_op_in_unsafe_fn, r=nikomatsakis 2021-03-10 08:01:25 +09:00
Cargo.toml mv std libs to library/ 2020-07-27 19:51:13 -05:00