Skip to content

Commit d4e4901

Browse files
authored
Merge pull request Kotlin#3 from qiaoyuang/master
协程《基础》中的几个错别字的修改
2 parents d8222bd + 8ec1c2d commit d4e4901

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/basics.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class BasicsGuideTest {
2525
* [桥接阻塞和非阻塞的世界](#bridging-blocking-and-non-blocking-worlds)
2626
* [等待一个任务](#waiting-for-a-job)
2727
* [结构性的并发](#structured-concurrency)
28-
* [作用域建造器](#scope-builder)
28+
* [作用域构建器](#scope-builder)
2929
* [提取函数重构](#extract-function-refactoring)
3030
* [协程是轻量级的](#coroutines-are-light-weight)
3131
* [像守护线程一样的全局协程](#global-coroutines-are-like-daemon-threads)
@@ -89,7 +89,7 @@ Error: Kotlin: Suspend functions are only allowed to be called from a coroutine
8989
### 桥接阻塞和非阻塞的世界
9090

9191
第一个例子中在相似的代码中包含了 _非阻塞的_ `delay(...)`_阻塞的_ `Thread.sleep(...)`
92-
它非让容易的让我们看出来哪一个是阻塞的,哪一个是非阻塞的。
92+
它非常容易的让我们看出来哪一个是阻塞的,哪一个是非阻塞的。
9393
来一起使用明确的阻塞 [runBlocking] 协程构建器:
9494

9595
<div class="sample" markdown="1" theme="idea" data-min-compiler-version="1.3">
@@ -175,7 +175,7 @@ class MyTest {
175175
### 等待一个任务
176176

177177
延迟一段时间来等待另一个协程开始工作并不是一个好的选择。让我们明确地<!--
178-
-->等待(使用非阻塞的方法)一个后台[Job]执行结束:
178+
-->等待(使用非阻塞的方法)一个后台 [Job] 执行结束:
179179

180180
<div class="sample" markdown="1" theme="idea" data-min-compiler-version="1.3">
181181

0 commit comments

Comments
 (0)