mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() 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. |
||
---|---|---|
.. | ||
buffered | ||
copy | ||
cursor | ||
error | ||
impls | ||
readbuf | ||
stdio | ||
util | ||
copy.rs | ||
cursor.rs | ||
error.rs | ||
impls.rs | ||
mod.rs | ||
prelude.rs | ||
readbuf.rs | ||
stdio.rs | ||
tests.rs | ||
util.rs |