diff options
| author | Elias Holzmann <9659253+EliasHolzmann@users.noreply.github.com> | 2023-11-22 01:14:41 +0100 |
|---|---|---|
| committer | Elias Holzmann <9659253+EliasHolzmann@users.noreply.github.com> | 2024-12-05 21:47:13 +0100 |
| commit | 1d7984a132663296d0652a9059df46d2a393fcb5 (patch) | |
| tree | 34973f0c8fc95208bdc9b3b44dda0a119fdf89e1 /tests/codegen/patchable-function-entry | |
| parent | 0e98766a5478abd9a279777e55e3d3e06e1761c0 (diff) | |
| download | rust-1d7984a132663296d0652a9059df46d2a393fcb5.tar.gz rust-1d7984a132663296d0652a9059df46d2a393fcb5.zip | |
Formatter: Access members via getter methods wherever possible
The idea behind this is to make implementing `fmt::FormattingOptions` (as well as any future changes to `std::Formatter`) easier. In theory, this might have a negative performance impact because of the additional function calls. However, I strongly believe that those will be inlined anyway, thereby producing assembly code that has comparable performance.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
