🏗️ Elegant & Highly Performant Async Gemini Server Framework for the Modern Age
async framework gemini-protocol protocol gemini rust
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs(router): ignore attach_async example

Fuwn 9fe1f541 459d9376

+4 -4
+4 -4
src/router.rs
··· 727 727 /// 728 728 /// # Examples 729 729 /// 730 - /// ```rust 730 + /// ```no_run 731 731 /// use log::info; 732 - /// use windmark::context::HookContext; 732 + /// use windmark::{context::HookContext, router::Router}; 733 733 /// 734 734 /// #[derive(Default)] 735 735 /// struct Clicker { ··· 738 738 /// 739 739 /// #[async_trait::async_trait] 740 740 /// impl windmark::module::AsyncModule for Clicker { 741 - /// async fn on_attach(&mut self, _: &mut windmark::router::Router) { 741 + /// async fn on_attach(&mut self, _: &mut Router) { 742 742 /// info!("clicker has been attached!"); 743 743 /// } 744 744 /// ··· 761 761 /// } 762 762 /// } 763 763 /// 764 - /// windmark::router::Router::new().attach_async(Clicker::default()); 764 + /// Router::new().attach_async(Clicker::default()); 765 765 /// ``` 766 766 pub fn attach_async( 767 767 &mut self,