fix: use correct syntax in doctests

This commit is contained in:
Radical 2025-05-24 03:34:07 +02:00
parent 6832215aaa
commit 53e5238485
2 changed files with 5 additions and 5 deletions

View file

@ -89,7 +89,7 @@ impl Client {
/// // Bunny.net api key
/// let mut client = Client::new("api_key").await?;
///
/// let countries = client.get_countries().await?;
/// let countries = client.get_country_list().await?;
///
/// println!("{:#?}", countries);
/// Ok(())
@ -191,7 +191,7 @@ impl Client {
/// // Bunny.net api key
/// let mut client = Client::new("api_key").await?;
///
/// client.purge_url("https://url_to_purge.com", false).await?;
/// client.purge_url("https://url_to_purge.com".parse()?, false).await?;
///
/// Ok(())
/// }