diff options
| author | Michael Goulet <michael@errs.io> | 2023-08-10 21:17:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-10 21:17:36 -0700 |
| commit | 0c241e6bdb191862423dfd4cc0f705a127c2248a (patch) | |
| tree | d341f72947e81828430de4f7f7683aa706651a53 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | a9b2c6a0ce700ee6d1cdcab3f3c1f7997ae726d1 (diff) | |
| parent | 558f49d7aae7142864ee98fb26e593c12c1a3cd3 (diff) | |
| download | rust-0c241e6bdb191862423dfd4cc0f705a127c2248a.tar.gz rust-0c241e6bdb191862423dfd4cc0f705a127c2248a.zip | |
Rollup merge of #114194 - thomcc:flushinline, r=cuviper
Inline trivial (noop) flush calls At work I noticed that `writer.flush()?` didn't get optimized away in cases where the flush is obviously a no-op, which I had expected (well, desired). I went through and added `#[inline]` to a bunch of cases that were obviously noops, or delegated to ones that were obviously noops. I omitted platforms I don't have access to (some tier3). I didn't do this very scientifically, in cases where it was non-obvious I left `#[inline]` off.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
