🔥 Remove unwrap usage to improve new apps setup

This commit is contained in:
Manuel Cillero 2024-02-26 07:39:08 +01:00
parent b7cb4363bd
commit d66063a1f7
6 changed files with 79 additions and 60 deletions

View file

@ -48,7 +48,7 @@
//!
//! #[pagetop::main]
//! async fn main() -> std::io::Result<()> {
//! Application::prepare(&HelloWorld).unwrap().run()?.await
//! Application::prepare(&HelloWorld).run()?.await
//! }
//! ```
//! This program implements a package named `HelloWorld` with one service that returns a web page