🦠 The Definitive Gemini Protocol Toolkit
gemini gemini-protocol gemtext parser zero-dependency toolkit ast converter html markdown cli networking
0
fork

Configure Feed

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

docs(request): fix async request example

Fuwn b0083bfd 3854c711

+9 -4
+9 -4
src/request/sync.rs
··· 27 27 /// # Example 28 28 /// 29 29 /// ```rust 30 - /// match germ::request::request(&url::Url::parse("gemini://fuwn.me").unwrap()) 30 + /// #[tokio::main] 31 + /// async fn main() { 32 + /// match germ::request::sync::request( 33 + /// &url::Url::parse("gemini://fuwn.me").unwrap(), 34 + /// ) 31 35 /// .await 32 - /// { 33 - /// Ok(response) => println!("{:?}", response), 34 - /// Err(_) => {} 36 + /// { 37 + /// Ok(response) => println!("{:?}", response), 38 + /// Err(_) => {} 39 + /// } 35 40 /// } 36 41 /// ``` 37 42 ///