docs: add `;` at the end of the line in the rust example code

This commit is contained in:
MedzikUser 2022-04-04 19:08:33 +02:00
parent c3718579db
commit 8cd1a31b72
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
1 changed files with 7 additions and 7 deletions

View File

@ -26,29 +26,29 @@
//! ## Image Upload
//! ```
//! // From URL
//! let info = client.upload_image("https://cdn.magicuser.cf/lFaGr1x.png").await?
//! let info = client.upload_image("https://cdn.magicuser.cf/lFaGr1x.png").await?;
//!
//! // From File
//! let info = client.upload_image("path/to/image.png").await?
//! let info = client.upload_image("path/to/image.png").await?;
//! ```
//!
//! ## Delete Image
//! ```
//! client.delete_image("SuPeRsEcReTDeLeTeHaSh").await? // delete hash
//! client.delete_image("SuPeRsEcReTDeLeTeHaSh").await?; // delete hash
//! ```
//!
//! ## Get Image Info
//! ```
//! let info = client.image_info("lFaGr1x").await? // image id
//! let info = client.image_info("lFaGr1x").await?; // image id
//!
//! println!("{:?}", info)
//! println!("{:?}", info);
//! ```
//!
//! ## Get Client RateLimit
//! ```
//! let info = client.rate_limit.await?
//! let info = client.rate_limit.await?;
//!
//! println!("{:?}", info)
//! println!("{:?}", info);
//! ```
mod api;