Skip to content

Commit 92db79f

Browse files
committed
fix html tag
1 parent cdf5155 commit 92db79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sync/mutex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub struct Mutex<T: ?Sized> {
196196
///
197197
/// - impl Sync for Mutex
198198
///
199-
/// Mutex<T> provides mutable access to `T` to one thread at a time. However, it's essential
199+
/// `Mutex<T>` provides mutable access to `T` to one thread at a time. However, it's essential
200200
/// for `T` to be `Send` because it's not safe for non-`Send` structures to be accessed in
201201
/// this manner. For instance, consider `Rc`, a non-atomic reference counted smart pointer,
202202
/// which is not `Send`. With `Rc`, we can have multiple copies pointing to the same heap

0 commit comments

Comments
 (0)