apply cargo fmt

This commit is contained in:
nextel 2019-09-13 12:38:01 +03:00
parent 8a9b2e1009
commit d2612f21a0

View file

@ -142,17 +142,16 @@ impl<'a> SendVenue<'a> {
} }
pub fn foursquare_type<T>(mut self, foursquare_type: T) -> Self pub fn foursquare_type<T>(mut self, foursquare_type: T) -> Self
where where
T: Into<bool>, T: Into<bool>,
{ {
self.foursquare_type = Some(foursquare_type.into()); self.foursquare_type = Some(foursquare_type.into());
self self
} }
pub fn reply_markup<T>(mut self, reply_markup: T) -> Self pub fn reply_markup<T>(mut self, reply_markup: T) -> Self
where where
T: Into<ReplyMarkup>, T: Into<ReplyMarkup>,
{ {
self.reply_markup = Some(ReplyMarkup.into()); self.reply_markup = Some(ReplyMarkup.into());
self self