Skip to content

Commit 746dedb

Browse files
committed
add thread safe meaning
1 parent 2ec75de commit 746dedb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

notes/general-notes/general-notes.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
3. owner cannot free or mutate the resource while it is borrowed
88

99
- when passing data between threads, Rust will to make sure the data is thread-safe to use
10+
- thread-safe: method or class instance can be used by multiple threads at the same time without any problems occurring

0 commit comments

Comments
 (0)