diff options
| author | ljedrz <ljedrz@gmail.com> | 2018-12-04 10:21:42 +0100 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2018-12-04 10:21:42 +0100 |
| commit | 8c4129cd9ae079fc010b8e3d73a72659b2f0a986 (patch) | |
| tree | 99f1759018df33a5a7075f51410e7d7eaea15c9e /src/libstd/sys/wasm/env.rs | |
| parent | 91d5d56c00d8e2926ccf856f14a4e52ef480d039 (diff) | |
| download | rust-8c4129cd9ae079fc010b8e3d73a72659b2f0a986.tar.gz rust-8c4129cd9ae079fc010b8e3d73a72659b2f0a986.zip | |
cleanup: remove static lifetimes from consts in libstd
Diffstat (limited to 'src/libstd/sys/wasm/env.rs')
| -rw-r--r-- | src/libstd/sys/wasm/env.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libstd/sys/wasm/env.rs b/src/libstd/sys/wasm/env.rs index 1422042bd02..09235a944ee 100644 --- a/src/libstd/sys/wasm/env.rs +++ b/src/libstd/sys/wasm/env.rs @@ -9,11 +9,11 @@ // except according to those terms. pub mod os { - pub const FAMILY: &'static str = ""; - pub const OS: &'static str = ""; - pub const DLL_PREFIX: &'static str = ""; - pub const DLL_SUFFIX: &'static str = ".wasm"; - pub const DLL_EXTENSION: &'static str = "wasm"; - pub const EXE_SUFFIX: &'static str = ".wasm"; - pub const EXE_EXTENSION: &'static str = "wasm"; + pub const FAMILY: &str = ""; + pub const OS: &str = ""; + pub const DLL_PREFIX: &str = ""; + pub const DLL_SUFFIX: &str = ".wasm"; + pub const DLL_EXTENSION: &str = "wasm"; + pub const EXE_SUFFIX: &str = ".wasm"; + pub const EXE_EXTENSION: &str = "wasm"; } |
