SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 66 Rust

Simplify `run_compiler` control flow.

I find `Compilation::and_then` hard to read. This commit removes it,
simplifying the control flow in `run_compiler`, and reducing the number
of lines of code.

In particular, `list_metadata` and `process_try_link` (renamed `rlink`)
are now only called if the relevant condition is true, rather than that
condition being checked within the function.
N
Nicholas Nethercote committed
472f7c97a6a65e8b05c941d99d7a7ae54c4b59e0
Parent: 5659cc5