Skip to content

Commit 188f312

Browse files
fix typo in ch8:lec0
1 parent d404206 commit 188f312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/chapter8/0intro.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@
594594
pub condvar_list: Vec<Option<Arc<Condvar>>>, // 条件变量列表
595595
}
596596
597-
在互斥锁的设计实现中,设计了一个更底层的 `UPSafeCellSafeCell<T>` 类型,用于支持在单核处理器上安全地在线程间共享可变全局变量。这个类型大致结构如下所示:
597+
在互斥锁的设计实现中,设计了一个更底层的 `UPSafeCell<T>` 类型,用于支持在单核处理器上安全地在线程间共享可变全局变量。这个类型大致结构如下所示:
598598

599599
.. code-block:: Rust
600600
:linenos:

0 commit comments

Comments
 (0)