2
Github Move check only relevant in error case out of critical path by estebank ·...
source link: https://github.com/rust-lang/rust/pull/82738
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Move the check for potentially forgotten return
in a tail expression
of arbitrary expressions into the coercion error branch to avoid
computing unncessary coercion checks on successful code.
Follow up to #81458.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK