diff options
Diffstat (limited to 'src/request/non_blocking.rs')
| -rw-r--r-- | src/request/non_blocking.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/request/non_blocking.rs b/src/request/non_blocking.rs index c578703..84835a8 100644 --- a/src/request/non_blocking.rs +++ b/src/request/non_blocking.rs @@ -30,10 +30,8 @@ use { /// ```rust /// #[tokio::main] /// async fn main() { -/// match germ::request::sync::request( -/// &url::Url::parse("gemini://fuwn.me").unwrap(), -/// ) -/// .await +/// match germ::request::request(&url::Url::parse("gemini://fuwn.me").unwrap()) +/// .await /// { /// Ok(response) => println!("{:?}", response), /// Err(_) => {} |