From 72f7944e3880a89ff8716c44043e6a5a214de956 Mon Sep 17 00:00:00 2001 From: Fedir Panasenko Date: Sat, 20 Jul 2024 23:42:44 -0400 Subject: [PATCH] Fix formatting --- crates/teloxide-core/src/adaptors.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/teloxide-core/src/adaptors.rs b/crates/teloxide-core/src/adaptors.rs index f6d2ffb8..f150b829 100644 --- a/crates/teloxide-core/src/adaptors.rs +++ b/crates/teloxide-core/src/adaptors.rs @@ -53,10 +53,10 @@ pub use parse_mode::DefaultParseMode; feature = "trace_adaptor", feature = "erased" ))] -// Tests composition of all possible adaptors. The goal of this test is to +// Tests composition of all possible adaptors. The goal of this test is to // catch situations when wrapped by adaptor bot loses Requester trait bounds. -// The problem occurs because Throttle adaptor holds queue of requests, thus -// introducing requirement for all requests to also implement Clone. +// The problem occurs because Throttle adaptor holds queue of requests, thus +// introducing requirement for all requests to also implement Clone. mod composition_test { use crate::{requests::RequesterExt, types::ParseMode, Bot}; use throttle::Limits; @@ -69,7 +69,7 @@ mod composition_test { async fn composition() { let bot = Bot::new("TOKEN"); - // Erased adaptor validates Requester trait bounds, so this should fail to + // Erased adaptor validates Requester trait bounds, so this should fail to // compile whenever issue occurs. let _ = bot .throttle(Limits::default())