diff --git a/drust/src/main.rs b/drust/src/main.rs index 9f45fc65..3f2073d2 100644 --- a/drust/src/main.rs +++ b/drust/src/main.rs @@ -27,5 +27,5 @@ impl ModuleTrait for Drust { #[actix_web::main] async fn main() -> std::io::Result<()> { - Application::prepare(&Drust).await?.run()?.await + Application::prepare(&Drust).unwrap().run()?.await } diff --git a/pagetop/src/app/application.rs b/pagetop/src/app/application.rs index db912a99..5482992c 100644 --- a/pagetop/src/app/application.rs +++ b/pagetop/src/app/application.rs @@ -15,7 +15,7 @@ pub struct Application { } impl Application { - pub async fn prepare(app: ModuleStaticRef) -> Result { + pub fn prepare(app: ModuleStaticRef) -> Result { // Rótulo de presentación. super::banner::print_on_startup();