oli-obk / priroda

A graphical debugger for Rust MIR
Apache License 2.0
183 stars 13 forks source link

Make PrirodaSender::do_work cleaner #47

Open bjorn3 opened 3 years ago

bjorn3 commented 3 years ago

Certainly for reviewing purposes, this whole function is a bit messy in terms of control flow. I do believe that these changes are equivalent.

_Originally posted by @DJMcNab in https://github.com/oli-obk/priroda/pull/46#discussion_r602726637_