about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorPetter Remen <petter.remen@gmail.com>2014-01-17 12:25:12 +0100
committerPetter Remen <petter.remen@findwise.com>2014-01-17 19:04:55 +0100
commitc6ad2de6f11dd0f20e0f5cba9ab3bc47d758144b (patch)
tree7f4c432097e788b8d147fb8134ba1ed7c2f44ce1 /doc
parent93fb12e3d0644f6a8ddfa2ac1d6b0a1d8341e287 (diff)
downloadrust-c6ad2de6f11dd0f20e0f5cba9ab3bc47d758144b.tar.gz
rust-c6ad2de6f11dd0f20e0f5cba9ab3bc47d758144b.zip
Fixup in guide-testing.md
Added back-quotes around #[cfg(test)] which was otherwise
being interpreted as starting a header
Diffstat (limited to 'doc')
-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'