Files
rust/src/libstd
Manish Goregaokar 131e25401c Rollup merge of #73648 - poliorcetics:return-keyword, r=joshtriplett
Document the return keyword

Partial fix of #34601.

This documents the `return` keyword with two short example to explain it is not needed for the last expression in a function and a long example to show its use when interrupting a function execution early.

I did not put a link to the reference since the only link I found was https://doc.rust-lang.org/stable/reference/expressions/return-expr.html#return-expressions.

@rustbot modify labels: T-doc,C-enhancement
2020-06-25 18:00:20 -07:00
..
2019-11-29 18:43:27 -08:00
2020-05-17 23:38:31 +02:00
2020-04-25 09:25:33 -04:00
2020-04-14 20:36:07 +00:00
2020-06-18 09:11:15 -07:00
2020-04-28 11:22:42 +02:00
2020-04-26 04:24:16 -07:00
2020-05-22 10:55:01 +02:00
2020-06-12 19:10:58 +02:00
2020-06-10 01:35:47 +00:00