about summary refs log tree commit diff
path: root/src/libstd/sys/wasm
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2018-08-29 08:21:01 -0500
committerCorey Farwell <coreyf@rwell.org>2018-08-29 09:01:35 -0500
commite477a13d63c2139f39c192c8e22dcfd0810f68e4 (patch)
treec5ed734f6ed887a5348070b7666db6ac13468e2c /src/libstd/sys/wasm
parentca0de63898b525656ad8447cd81ccb08a05e3d6c (diff)
downloadrust-e477a13d63c2139f39c192c8e22dcfd0810f68e4.tar.gz
rust-e477a13d63c2139f39c192c8e22dcfd0810f68e4.zip
Replace usages of 'bad_style' with 'nonstandard_style'.
`bad_style` is being deprecated in favor of `nonstandard_style`:

- https://github.com/rust-lang/rust/issues/41646
Diffstat (limited to 'src/libstd/sys/wasm')
-rw-r--r--src/libstd/sys/wasm/net.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/wasm/net.rs b/src/libstd/sys/wasm/net.rs
index e7476ab37f7..03a5b2d779e 100644
--- a/src/libstd/sys/wasm/net.rs
+++ b/src/libstd/sys/wasm/net.rs
@@ -297,7 +297,7 @@ pub fn lookup_host(_: &str) -> io::Result<LookupHost> {
     unsupported()
 }
 
-#[allow(bad_style)]
+#[allow(nonstandard_style)]
 pub mod netc {
     pub const AF_INET: u8 = 0;
     pub const AF_INET6: u8 = 1;