1
Fork 0

docs: In rust.md, replace inert @dfn{foo} formatting with _foo_

This commit is contained in:
Benjamin Herr 2012-07-09 04:19:38 +02:00
parent cf4d5f4e4c
commit abd0de5d5c

View file

@ -3186,7 +3186,7 @@ let x: ~int = ~10;
~~~~~~~~ ~~~~~~~~
Some operations (such as field selection) implicitly dereference boxes. An Some operations (such as field selection) implicitly dereference boxes. An
example of an @dfn{implicit dereference} operation performed on box values: example of an _implicit dereference_ operation performed on box values:
~~~~~~~~ ~~~~~~~~
let x = @{y: 10}; let x = @{y: 10};
@ -3196,8 +3196,8 @@ assert x.y == 10;
Other operations act on box values as single-word-sized address values. For Other operations act on box values as single-word-sized address values. For
these operations, to access the value held in the box requires an explicit these operations, to access the value held in the box requires an explicit
dereference of the box value. Explicitly dereferencing a box is indicated with dereference of the box value. Explicitly dereferencing a box is indicated with
the unary *star* operator `*`. Examples of such @dfn{explicit the unary *star* operator `*`. Examples of such _explicit dereference_
dereference} operations are: operations are:
* copying box values (`x = y`) * copying box values (`x = y`)
* passing box values to functions (`f(x,y)`) * passing box values to functions (`f(x,y)`)