From 7048d380c63fe5817a86f53aa1c286ad19b187ba Mon Sep 17 00:00:00 2001 From: stillbeingnick Date: Fri, 28 Jul 2023 14:19:32 -0700 Subject: [PATCH] updating format to align with fmt --- crates/teloxide-core/src/errors.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/teloxide-core/src/errors.rs b/crates/teloxide-core/src/errors.rs index cdb9754e..7f944e4f 100644 --- a/crates/teloxide-core/src/errors.rs +++ b/crates/teloxide-core/src/errors.rs @@ -238,7 +238,7 @@ impl_api_error! { /// [`DeleteMessage`]: crate::payloads::DeleteMessage MessageCantBeDeleted = "Bad Request: message can't be deleted", - /// Occurs when a bot tries to delete a message created by the bot + /// Occurs when a bot tries to delete a message created by the bot /// in a group they belong to but have no rights to delete the message /// for all in the group. /// @@ -882,7 +882,6 @@ mod tests { ApiError::PollQuestionMustBeNonEmpty, ), ( - "{\"data\": \"Bad Request: poll options length must not exceed 100\"}", ApiError::PollOptionsLengthTooLong, ),