]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #52641 - ljedrz:mir_dataflow_misc, r=cramertj
authorkennytm <kennytm@gmail.com>
Tue, 24 Jul 2018 01:49:59 +0000 (09:49 +0800)
committerGitHub <noreply@github.com>
Tue, 24 Jul 2018 01:49:59 +0000 (09:49 +0800)
commit378ef99eb3849033fa298ce0953c35a6d5a0b16b
treede0d4501e103858464e1ddb73bbac757c73d24e1
parentb3c9fe2537b528424333d10e5fc491a0fa050dc2
parentd89ac4caf7b49596c6258f9b8f7f8b4f9945fbc5
Rollup merge of #52641 - ljedrz:mir_dataflow_misc, r=cramertj

Simplify 2 functions in rustc_mir/dataflow

- `graphviz::outgoing`: the `enumerate` only provides indices; use a range instead
- `DataflowState::interpret_set`: change a push loop to an iterator and remove the `each_bit` helper function
src/librustc_mir/dataflow/graphviz.rs