rust-lang / prev.rust-lang.org

The previous Rust website. The current website's code is at https://github.com/rust-lang/www.rust-lang.org.
https://prev.rust-lang.org
Apache License 2.0
151 stars 340 forks source link

FAQ references the `try!` macro #1226

Open XavilPergis opened 5 years ago

XavilPergis commented 5 years ago

It also says main cannot return Result

Found here: https://github.com/rust-lang/rust-www/blob/master/en-US/faq.md#why-do-i-get-an-error-when-i-try-to-run-example-code-that-uses-the-try-macro