File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
A _ field expression_ consists of an expression followed by a single dot and an
4
4
[ identifier] ( identifiers.html ) , when not immediately followed by a
5
5
parenthesized expression-list (the latter is always a [ method call
6
- expression] ( # method-call-expressions ) ). A field expression denotes a field of a
6
+ expression] ( method-call-expr.html ) ). A field expression denotes a field of a
7
7
[ struct] ( types.html#struct-types ) or [ union] ( items/unions.html ) . To call a
8
8
function stored in a struct parentheses are needed around the field expression
9
9
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ A [path](paths.html) used as an expression context denotes either a local
4
4
variable or an item. Path expressions that resolve to local or static variables
5
5
are [ lvalues] ( expressions.html#lvalues-and-rvalues ) , other paths
6
6
are rvalues. Using a ` static mut ` variable requires an [ ` unsafe `
7
- block] ( #unsafe-blocks ) .
7
+ block] ( block-expr.html #unsafe-blocks) .
8
8
9
9
``` rust
10
10
# mod globals {
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ borrow checks to ensure the usual rules around multiple references. The
20
20
accessed with atomic operations, allowing the value to be shared and mutated
21
21
across threads.
22
22
23
- [ shared reference ] : types.html#shared-references
23
+ [ shared reference ] : types.html#shared-references-
24
24
[ ub ] : behavior-considered-undefined.html
25
25
[ `std::mem::transmute` ] : ../std/mem/fn.transmute.html
26
26
[ `std::cell::UnsafeCell<T>` ] : ../std/cell/struct.UnsafeCell.html
27
27
[ `std::cell::RefCell<T>` ] : ../std/cell/struct.RefCell.html
28
- [ `std::sync::atomic` ] : ../std/sync/atomic.html
28
+ [ `std::sync::atomic` ] : ../std/sync/atomic/index .html
29
29
30
30
You can’t perform that action at this time.
0 commit comments