about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-18 03:41:42 -0800
committerbors <bors@rust-lang.org>2014-01-18 03:41:42 -0800
commitfb40bdbb6295a989806e7c3dcc23631becdb702f (patch)
treeeef753ff9aa3d446530ecbdde6148deea3b20080
parent88dd987df0c1fdc64078c570e1712f1cc2e0d4ac (diff)
parentc6ad2de6f11dd0f20e0f5cba9ab3bc47d758144b (diff)
downloadrust-fb40bdbb6295a989806e7c3dcc23631becdb702f.tar.gz
rust-fb40bdbb6295a989806e7c3dcc23631becdb702f.zip
auto merge of #11614 : remen/rust/patch-1, r=alexcrichton
#[cfg(test)] was being interpreted as starting a header
-rw-r--r--doc/guide-testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guide-testing.md b/doc/guide-testing.md
index eeed3c7d9a7..84445ee08c2 100644
--- a/doc/guide-testing.md
+++ b/doc/guide-testing.md
@@ -63,8 +63,8 @@ mod tests {
 }
 ~~~
 
-Additionally #[test] items behave as if they also have the
-#[cfg(test)] attribute, and will not be compiled when the --test flag
+Additionally `#[test]` items behave as if they also have the
+`#[cfg(test)]` attribute, and will not be compiled when the --test flag
 is not used.
 
 Tests that should not be run can be annotated with the 'ignore'