forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit bce5253
authored
Rollup merge of rust-lang#123118 - tgross35:rwlock-docs, r=workingjubilee
Update `RwLock` deadlock example to not use shadowing
Tweak variable names in the deadlock example to remove any potential confusion that the behavior is somehow shadowing-related.1 file changed
+7
-6
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | - | ||
35 | - | ||
36 | - | ||
37 | - | ||
38 | - | ||
39 | - | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | 40 |
| |
41 | + | ||
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
|
0 commit comments