diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2014-04-12 09:03:16 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-04-12 09:03:39 +0530 |
| commit | d0aed0995b6ca50ff0955ccda2e9d98076e9f961 (patch) | |
| tree | 3089efc6a698080be6deeec305e7722a73255c97 /src/doc/guide-testing.md | |
| parent | b2b2bbb62893b9655f65cb2813eaaba4f2e742dd (diff) | |
| download | rust-d0aed0995b6ca50ff0955ccda2e9d98076e9f961.tar.gz rust-d0aed0995b6ca50ff0955ccda2e9d98076e9f961.zip | |
Update tutorials to use new attribute syntax (#13476)
Diffstat (limited to 'src/doc/guide-testing.md')
| -rw-r--r-- | src/doc/guide-testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide-testing.md b/src/doc/guide-testing.md index 3efed4a215b..f924b4bcd86 100644 --- a/src/doc/guide-testing.md +++ b/src/doc/guide-testing.md @@ -185,7 +185,7 @@ amount. For example: ~~~ -# #[allow(unused_imports)]; +# #![allow(unused_imports)] extern crate test; use std::slice; @@ -247,7 +247,7 @@ recognize that some calculation has no external effects and remove it entirely. ~~~ -# #[allow(unused_imports)]; +# #![allow(unused_imports)] extern crate test; use test::BenchHarness; |
