From e7a35086f73fa10e47b65803585e7c3ccae93150 Mon Sep 17 00:00:00 2001 From: owen Date: Fri, 27 Mar 2020 20:24:22 -0400 Subject: [PATCH] Fix trait name in example code (s/Fut/F/) --- blog/content/second-edition/posts/12-async-await/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/12-async-await/index.md b/blog/content/second-edition/posts/12-async-await/index.md index 7669fc93..cc563b6d 100644 --- a/blog/content/second-edition/posts/12-async-await/index.md +++ b/blog/content/second-edition/posts/12-async-await/index.md @@ -191,7 +191,7 @@ struct StringLen { inner_future: F, } -impl Future for StringLen where Fut: Future { +impl Future for StringLen where F: Future { type Output = usize; fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll {