]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #52642 - ljedrz:expect_fun_call, r=Mark-Simulacrum
authorkennytm <kennytm@gmail.com>
Tue, 24 Jul 2018 01:50:00 +0000 (09:50 +0800)
committerGitHub <noreply@github.com>
Tue, 24 Jul 2018 01:50:00 +0000 (09:50 +0800)
Replace a few expect+format combos with unwrap_or_else+panic

That way the error strings won't be created if the related errors are not triggered.


Trivial merge