diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-12-28 15:28:46 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-12-30 12:06:28 -0500 |
| commit | 2cff12e0d6d846c1c2a4c4449ecf7473658573ef (patch) | |
| tree | 5d6ff7aecd329d81b33febfb6884d67e5fa7762d /src/libstd | |
| parent | 27a1834ce522e3ec7fe4726b1661de16ee30c503 (diff) | |
| download | rust-2cff12e0d6d846c1c2a4c4449ecf7473658573ef.tar.gz rust-2cff12e0d6d846c1c2a4c4449ecf7473658573ef.zip | |
Small refactoring to make this code more clear
This hairy conditional doesn't need to be so. It _does_ need to be a thin pointer, otherwise, it will fail to compile, so let's pull that out into a temporary for future readers of the source. Also, after a discussion with @pnkfelix and @gankro, we don't need these null checks anymore, as zero-on-drop has been gone for a while now.
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions
