mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
clippy
This commit is contained in:
parent
852df2e90e
commit
a4309ef4d8
2 changed files with 3 additions and 4 deletions
|
@ -12,7 +12,7 @@ impl Bot {
|
|||
/// ## Example
|
||||
/// ```no_run
|
||||
/// # use telebofr::{Bot, requests::payloads::SendMessage};
|
||||
/// # #[tokio::main] async fn main() {
|
||||
/// # #[tokio::main] async fn main_() {
|
||||
/// let bot = Bot::new("TOKEN");
|
||||
/// let payload = SendMessage::new(123456, "text");
|
||||
/// bot.execute_dyn(&payload).await;
|
||||
|
@ -49,7 +49,7 @@ impl Bot {
|
|||
/// ## Example
|
||||
/// ```no_run
|
||||
/// # use telebofr::{Bot, requests::payloads::SendMessage};
|
||||
/// # #[tokio::main] async fn main() {
|
||||
/// # #[tokio::main] async fn main_() {
|
||||
/// let bot = Bot::new("TOKEN");
|
||||
/// let payload = SendMessage::new(123456, "text");
|
||||
/// bot.execute_json(&payload).await;
|
||||
|
@ -74,7 +74,7 @@ impl Bot {
|
|||
/// ## Example
|
||||
/// ```no_run
|
||||
/// # use telebofr::{Bot, requests::payloads::SendAnimation, types::InputFile};
|
||||
/// # #[tokio::main] async fn main() {
|
||||
/// # #[tokio::main] async fn main_() {
|
||||
/// let bot = Bot::new("TOKEN");
|
||||
/// let payload = SendAnimation::new(
|
||||
/// 123456,
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#![allow(clippy::needless_doctest_main)]
|
||||
#![allow(clippy::unit_arg)] // TODO
|
||||
#![allow(clippy::ptr_arg)] // TODO
|
||||
|
||||
|
|
Loading…
Reference in a new issue