From 31326b20676d4a815779673837ce2edfd5fffec6 Mon Sep 17 00:00:00 2001 From: p0lunin Date: Wed, 1 Jan 2020 20:08:10 +0200 Subject: [PATCH] refactoring --- src/types/parse_mode.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/types/parse_mode.rs b/src/types/parse_mode.rs index 7ef28e65..40a21e73 100644 --- a/src/types/parse_mode.rs +++ b/src/types/parse_mode.rs @@ -2,10 +2,9 @@ // (for built ins there no warnings, but for (De)Serialize, there are) #![allow(deprecated)] -use std::{str::FromStr, convert::TryFrom}; +use std::{str::FromStr, convert::{TryFrom, TryInto}}; use serde::{Deserialize, Serialize}; -use std::convert::TryInto; /// ## Formatting options /// The Bot API supports basic formatting for messages. You can use bold,