From 4b2a559ed1415b6a67b867119aa98e985660699f Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Sat, 12 Mar 2022 00:42:39 +0100 Subject: [PATCH] Fix typo in return type of `dynx Future`'s `O`-generic vtable --- .../async_fn_in_dyn_trait/generalizing_from_box_to_dynx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/explainer/async_fn_in_dyn_trait/generalizing_from_box_to_dynx.md b/explainer/async_fn_in_dyn_trait/generalizing_from_box_to_dynx.md index 099a3c8..5c1d773 100644 --- a/explainer/async_fn_in_dyn_trait/generalizing_from_box_to_dynx.md +++ b/explainer/async_fn_in_dyn_trait/generalizing_from_box_to_dynx.md @@ -115,7 +115,7 @@ struct FutureVtable { /// /// Unsafe condition: Expects the output from `IntoRawPointer::into_raw` /// which must not have already been freed. - poll_fn: unsafe fn(*mut (), cx: &mut Context<'_>) -> Ready<()>, + poll_fn: unsafe fn(*mut (), cx: &mut Context<'_>) -> Ready, /// Frees the memory for the pointer to future. /// @@ -176,4 +176,4 @@ impl Drop for dynx Future { } } } -``` \ No newline at end of file +```