Use new attribute syntax in python files in src/etc too (#13478)

This commit is contained in:
Manish Goregaokar
2014-04-14 21:00:31 +05:30
parent e2e754810c
commit 713e87526e
473 changed files with 607 additions and 607 deletions

View File

@@ -29,7 +29,7 @@
/// # Example
///
/// ```should_fail
/// # #[allow(unreachable_code)];
/// # #![allow(unreachable_code)]
/// fail!();
/// fail!("this is a terrible mistake!");
/// fail!(4); // fail with the value of 4 to be collected elsewhere
@@ -188,7 +188,7 @@ macro_rules! format(
/// # Example
///
/// ```
/// # #[allow(unused_must_use)];
/// # #![allow(unused_must_use)]
/// use std::io::MemWriter;
///
/// let mut w = MemWriter::new();