diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-07-13 10:53:57 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-07-13 11:10:20 +1000 |
| commit | f0c67951d076db8272f7a52f4d2596ae77b3311d (patch) | |
| tree | 056927fe4e9c12ee15c4f2f564ef6a83f52e2f03 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 05742ffb432adb0278bcb7262251cec9657d4067 (diff) | |
| download | rust-f0c67951d076db8272f7a52f4d2596ae77b3311d.tar.gz rust-f0c67951d076db8272f7a52f4d2596ae77b3311d.zip | |
Make BitSlice's `Word` properly generic.
Currently `Word` is `usize`, and there are various places in the code that assume this. This patch mostly just changes `usize` occurrences to `Word`. Most of the changes were found as compile errors when I changed `Word` to a type other than `usize`, but there was one non-obvious case in librustc_mir/dataflow/mod.rs that caused bounds check failures before I fixed it.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
