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 33A _ field expression_ consists of an expression followed by a single dot and an
44[ identifier] ( identifiers.html ) , when not immediately followed by a
55parenthesized 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
77[ struct] ( types.html#struct-types ) or [ union] ( items/unions.html ) . To call a
88function stored in a struct parentheses are needed around the field expression
99
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
44variable or an item. Path expressions that resolve to local or static variables
55are [ lvalues] ( expressions.html#lvalues-and-rvalues ) , other paths
66are rvalues. Using a ` static mut ` variable requires an [ ` unsafe `
7- block] ( #unsafe-blocks ) .
7+ block] ( block-expr.html #unsafe-blocks) .
88
99``` rust
1010# 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
2020accessed with atomic operations, allowing the value to be shared and mutated
2121across threads.
2222
23- [ shared reference ] : types.html#shared-references
23+ [ shared reference ] : types.html#shared-references-
2424[ ub ] : behavior-considered-undefined.html
2525[ `std::mem::transmute` ] : ../std/mem/fn.transmute.html
2626[ `std::cell::UnsafeCell<T>` ] : ../std/cell/struct.UnsafeCell.html
2727[ `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
2929
3030
You can’t perform that action at this time.
0 commit comments