rust/library/core/src/fmt
Matthias Krüger 1b1596c118
Rollup merge of #100823 - WaffleLapkin:less_offsets, r=scottmcm
Refactor some `std` code that works with pointer offstes

This PR replaces `pointer::offset` in standard library with `pointer::add` and `pointer::sub`, [re]moving some casts and using `.addr()` while we are at it.

This is a more complicated refactor than all other sibling PRs, so take a closer look when reviewing, please 😃  (though I've checked this multiple times and it looks fine).

r? ````@scottmcm````

_split off from #100746, continuation of #100822_
2022-09-24 14:29:52 +02:00
..
rt mv std libs to library/ 2020-07-27 19:51:13 -05:00
builders.rs Remove a packing branch from fmt::builders::PadAdapter 2022-08-24 01:21:40 +02:00
float.rs Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc 2021-10-20 04:35:10 +09:00
mod.rs Typo 2022-09-07 17:53:47 +02:00
nofloat.rs core: add unstable no_fp_fmt_parse to disable float fmt/parse code 2021-07-02 22:52:37 +01:00
num.rs Apply changes proposed in the review 2022-09-22 17:44:06 +04:00