]> git.lizzy.rs Git - rust.git/commitdiff
docs: In rust.md, replace inert @dfn{foo} formatting with _foo_
authorBenjamin Herr <ben@0x539.de>
Mon, 9 Jul 2012 02:19:38 +0000 (04:19 +0200)
committerBenjamin Herr <ben@0x539.de>
Mon, 9 Jul 2012 03:02:05 +0000 (05:02 +0200)
doc/rust.md

index f002393b71aced2ac46ef27fb2344fe2ed40d36d..dd419911e818a85ac2c38425791abf5a89493113 100644 (file)
@@ -3186,7 +3186,7 @@ let x: ~int = ~10;
 ~~~~~~~~
 
 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};
@@ -3196,8 +3196,8 @@ assert x.y == 10;
 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
 dereference of the box value. Explicitly dereferencing a box is indicated with
-the unary *star* operator `*`. Examples of such @dfn{explicit
-dereference} operations are:
+the unary *star* operator `*`. Examples of such _explicit dereference_
+operations are:
 
 * copying box values (`x = y`)
 * passing box values to functions (`f(x,y)`)