Merge pull request #298 from liyue201/patch-1

Update getting-started.md
pull/304/head
Sunface 3 years ago committed by GitHub
commit 52c8bb3a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -153,7 +153,7 @@ async fn do_something() {
}
```
需要注意,**异步函数的返回值是一个 `Future` **,若直接调用该函数,不会输出任何结果,因为 `Future` 还未被执行:
需要注意,**异步函数的返回值是一个 `Future`**,若直接调用该函数,不会输出任何结果,因为 `Future` 还未被执行:
```rust
fn main() {
do_something();

Loading…
Cancel
Save