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

@@ -52,7 +52,7 @@ impl UnixStream {
/// # Example
///
/// ```rust
/// # #[allow(unused_must_use)];
/// # #![allow(unused_must_use)]
/// use std::io::net::unix::UnixStream;
///
/// let server = Path::new("path/to/my/socket");
@@ -98,7 +98,7 @@ impl UnixListener {
/// ```
/// # fn main() {}
/// # fn foo() {
/// # #[allow(unused_must_use)];
/// # #![allow(unused_must_use)]
/// use std::io::net::unix::UnixListener;
/// use std::io::{Listener, Acceptor};
///