We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 88dd987 + c6ad2de commit fb40bdbCopy full SHA for fb40bdb
doc/guide-testing.md
@@ -63,8 +63,8 @@ mod tests {
63
}
64
~~~
65
66
-Additionally #[test] items behave as if they also have the
67
-#[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
68
is not used.
69
70
Tests that should not be run can be annotated with the 'ignore'
0 commit comments