From c6ad2de6f11dd0f20e0f5cba9ab3bc47d758144b Mon Sep 17 00:00:00 2001 From: Petter Remen Date: Fri, 17 Jan 2014 12:25:12 +0100 Subject: [PATCH] Fixup in guide-testing.md Added back-quotes around #[cfg(test)] which was otherwise being interpreted as starting a header --- doc/guide-testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guide-testing.md b/doc/guide-testing.md index eeed3c7d9a793..84445ee08c25e 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'