auto merge of #11614 : remen/rust/patch-1, r=alexcrichton

#[cfg(test)] was being interpreted as starting a header
This commit is contained in:
bors
2014-01-18 03:41:42 -08:00
+2 -2
View File
@@ -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'