Comment

Comment by wizzwizz4

I'm not sure how to contact the author, but just a nitpick:

    fn inner_main() -> Result<(), ()>
should be:

    fn inner_main() -> Result<!, ()>
since it shouldn't return except in the case of an error. It's important to make the compiler aware of such semantics, so that it can better optimise the program.
parent wizzwizz4 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton