diff options
| author | bors <bors@rust-lang.org> | 2016-01-23 00:33:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-23 00:33:23 +0000 |
| commit | d63b8e539ff1605cfe2ea3c1893139bd77e3bb8d (patch) | |
| tree | bb8ebf89ac6a196ab35e9dfc05cfece1841be41a /src/libstd/sys/windows | |
| parent | c2740b6adbd219a17efb66a3f75d78404ab715b6 (diff) | |
| parent | 257bff3192e2c7313a4f8cfcac8839a573b42f6b (diff) | |
| download | rust-d63b8e539ff1605cfe2ea3c1893139bd77e3bb8d.tar.gz rust-d63b8e539ff1605cfe2ea3c1893139bd77e3bb8d.zip | |
Auto merge of #31116 - bluss:expect-out-cold, r=alexcrichton
Use cold functions for panic formatting Option::expect, Result::unwrap, expect These methods are marked inline, but insert a big chunk of formatting code, as well as other error path related code, such as deallocating a std::io::Error if you have one. We can explicitly separate out that code path into a function that is never inline, since the panicking case should always be rare.
Diffstat (limited to 'src/libstd/sys/windows')
0 files changed, 0 insertions, 0 deletions
