about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-01-23 00:33:23 +0000
committerbors <bors@rust-lang.org>2016-01-23 00:33:23 +0000
commitd63b8e539ff1605cfe2ea3c1893139bd77e3bb8d (patch)
treebb8ebf89ac6a196ab35e9dfc05cfece1841be41a /src/libstd/sys/windows
parentc2740b6adbd219a17efb66a3f75d78404ab715b6 (diff)
parent257bff3192e2c7313a4f8cfcac8839a573b42f6b (diff)
downloadrust-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