aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-03-08 02:03:39 +0100
committerDario Nieuwenhuis <[email protected]>2023-03-08 02:03:39 +0100
commite7a19a97259a5d3055db7164bc162ad7c7035420 (patch)
tree4682d602165b645fffbee2bca2d3dff1531bcb98 /docs
parenta614e697d0ab8f45c59e136ad5015cfdedac50c3 (diff)
macros/main: copy fn return to task.
This prevents this bad code from compiling. ```rust async fn main(_spawner: Spawner) -> ! { // not really noreturn! } ```
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions