mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
apply cargo fmt
This commit is contained in:
parent
8a9b2e1009
commit
d2612f21a0
1 changed files with 4 additions and 5 deletions
|
@ -142,17 +142,16 @@ impl<'a> SendVenue<'a> {
|
|||
}
|
||||
|
||||
pub fn foursquare_type<T>(mut self, foursquare_type: T) -> Self
|
||||
where
|
||||
T: Into<bool>,
|
||||
where
|
||||
T: Into<bool>,
|
||||
{
|
||||
self.foursquare_type = Some(foursquare_type.into());
|
||||
self
|
||||
}
|
||||
|
||||
|
||||
pub fn reply_markup<T>(mut self, reply_markup: T) -> Self
|
||||
where
|
||||
T: Into<ReplyMarkup>,
|
||||
where
|
||||
T: Into<ReplyMarkup>,
|
||||
{
|
||||
self.reply_markup = Some(ReplyMarkup.into());
|
||||
self
|
||||
|
|
Loading…
Reference in a new issue