diff --git a/doc/guide-testing.md b/doc/guide-testing.md index eeed3c7d9a793ebdfa1ee779c0441ad13bde0196..84445ee08c25e42b4113a740948f6524db19ad1b 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'