forked from cadey/maj
Fix bug with type inferring for the `preformatted()` method
This commit is contained in:
parent
4c86fbba1e
commit
9bc2ea1159
|
@ -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>,
|
||||
|
|
Loading…
Reference in New Issue