@@ -1388,7 +1388,7 @@ global data section (such as string constants and static items) can have the
13881388` static ` lifetime. Static items are declared with the ` static ` keyword. A
13891389static item must have a _ constant expression_ giving its definition.
13901390
1391- Static items must be explicitly typed. The type may be ``` bool ``` , ``` char `` ` ,
1391+ Static items must be explicitly typed. The type may be ` bool ` , ` char ` ,
13921392a number, or a type derived from those primitive types. The derived types are
13931393references with the ` static ` lifetime, fixed-size arrays, tuples, and structs.
13941394
@@ -1412,16 +1412,16 @@ static bits_n_strings: BitsNStrings<'static> = BitsNStrings {
14121412
14131413#### Mutable statics
14141414
1415- If a static item is declared with the ``` mut `` ` keyword, then it is allowed to
1415+ If a static item is declared with the ` mut ` keyword, then it is allowed to
14161416be modified by the program. One of Rust's goals is to make concurrency bugs
14171417hard to run into, and this is obviously a very large source of race conditions
1418- or other bugs. For this reason, an ``` unsafe `` ` block is required when either
1418+ or other bugs. For this reason, an ` unsafe ` block is required when either
14191419reading or writing a mutable static variable. Care should be taken to ensure
14201420that modifications to a mutable static are safe with respect to other tasks
14211421running in the same process.
14221422
14231423Mutable statics are still very useful, however. They can be used with C
1424- libraries and can also be bound from C libraries (in an ``` extern `` ` block).
1424+ libraries and can also be bound from C libraries (in an ` extern ` block).
14251425
14261426```
14271427# fn atomic_add(_: &mut uint, _: uint) -> uint { 2 }
0 commit comments