diff options
| -rw-r--r-- | doc/guide-testing.md | 4 |
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' |
