Skip to content

Commit

Permalink
Follow on to rust-lang#100 to fix breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Oct 2, 2017
1 parent d5a1557 commit 44d03f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/expressions/field-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A _field expression_ consists of an expression followed by a single dot and an
[identifier](identifiers.html), when not immediately followed by a
parenthesized expression-list (the latter is always a [method call
expression](#method-call-expressions)). A field expression denotes a field of a
expression](method-call-expr.html)). A field expression denotes a field of a
[struct](types.html#struct-types) or [union](items/unions.html). To call a
function stored in a struct parentheses are needed around the field expression

Expand Down
2 changes: 1 addition & 1 deletion src/expressions/path-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A [path](paths.html) used as an expression context denotes either a local
variable or an item. Path expressions that resolve to local or static variables
are [lvalues](expressions.html#lvalues-and-rvalues), other paths
are rvalues. Using a `static mut` variable requires an [`unsafe`
block](#unsafe-blocks).
block](block-expr.html#unsafe-blocks).

```rust
# mod globals {
Expand Down
4 changes: 2 additions & 2 deletions src/interior-mutability.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ borrow checks to ensure the usual rules around multiple references. The
accessed with atomic operations, allowing the value to be shared and mutated
across threads.

[shared reference]: types.html#shared-references
[shared reference]: types.html#shared-references-
[ub]: behavior-considered-undefined.html
[`std::mem::transmute`]: ../std/mem/fn.transmute.html
[`std::cell::UnsafeCell<T>`]: ../std/cell/struct.UnsafeCell.html
[`std::cell::RefCell<T>`]: ../std/cell/struct.RefCell.html
[`std::sync::atomic`]: ../std/sync/atomic.html
[`std::sync::atomic`]: ../std/sync/atomic/index.html


0 comments on commit 44d03f0

Please sign in to comment.