From c37fb18a5589419c22ceaa81fbebf371bb2b846b Mon Sep 17 00:00:00 2001 From: stirlingx Date: Mon, 24 Jan 2022 11:46:34 +0800 Subject: [PATCH] Update getting-started.md --- book/contents/async/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/contents/async/getting-started.md b/book/contents/async/getting-started.md index 17193a22..ba3b127d 100644 --- a/book/contents/async/getting-started.md +++ b/book/contents/async/getting-started.md @@ -153,7 +153,7 @@ async fn do_something() { } ``` -需要注意,**异步函数的返回值是一个 `Future` **,若直接调用该函数,不会输出任何结果,因为 `Future` 还未被执行: +需要注意,**异步函数的返回值是一个 `Future`**,若直接调用该函数,不会输出任何结果,因为 `Future` 还未被执行: ```rust fn main() { do_something();