Merge pull request #165 from teloxide/remove_stray_generics

Remove stray generics
This commit is contained in:
Waffle Maybe 2022-01-12 13:55:29 +03:00 committed by GitHub
commit 3ccb8f0cde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ impl InlineQueryResultArticle {
self
}
pub fn thumb_url<S>(mut self, val: reqwest::Url) -> Self {
pub fn thumb_url(mut self, val: reqwest::Url) -> Self {
self.thumb_url = Some(val);
self
}

View file

@ -137,7 +137,7 @@ impl InlineQueryResultLocation {
self
}
pub fn thumb_url<S>(mut self, val: reqwest::Url) -> Self {
pub fn thumb_url(mut self, val: reqwest::Url) -> Self {
self.thumb_url = Some(val);
self
}