From 9bc2ea115928e4799f714245d176f858bde69590 Mon Sep 17 00:00:00 2001 From: Emii Tatsuo Date: Mon, 30 Nov 2020 14:17:13 -0500 Subject: [PATCH] Fix bug with type inferring for the `preformatted()` method --- gemtext/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemtext/src/lib.rs b/gemtext/src/lib.rs index b2bce9d..ca62fa7 100644 --- a/gemtext/src/lib.rs +++ b/gemtext/src/lib.rs @@ -26,7 +26,7 @@ impl Builder { self } - pub fn preformatted(mut self, alt_text: T, data: T) -> Builder + pub fn preformatted(mut self, alt_text: A, data: T) -> Builder where A: Into, T: Into,