Fix bug with type inferring for the `preformatted()` method
continuous-integration/drone/pr Build encountered an error Details

This commit is contained in:
Emii Tatsuo 2020-11-30 14:17:13 -05:00
parent 4c86fbba1e
commit 9bc2ea1159
No known key found for this signature in database
GPG Key ID: 68FAB2E2E6DFC98B
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ impl Builder {
self
}
pub fn preformatted<A, T>(mut self, alt_text: T, data: T) -> Builder
pub fn preformatted<A, T>(mut self, alt_text: A, data: T) -> Builder
where
A: Into<String>,
T: Into<String>,