summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2020-10-18 17:14:25 +0200
committerest31 <MTest31@outlook.com>2020-10-18 17:25:51 +0200
commita687420d1766b01583858ec2dee30fd57acead41 (patch)
tree78217ce93e3da47190204d2239e1ef5f56a879ec /library/std/src/sys
parent98e16884b10630e6e6ef5f4a076af3409122401d (diff)
downloadrust-a687420d1766b01583858ec2dee30fd57acead41.tar.gz
rust-a687420d1766b01583858ec2dee30fd57acead41.zip
Remove redundant 'static from library crates
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/sgx/env.rs14
-rw-r--r--library/std/src/sys/sgx/path.rs2
2 files changed, 8 insertions, 8 deletions
diff --git a/library/std/src/sys/sgx/env.rs b/library/std/src/sys/sgx/env.rs
index 6fa0ed7bcf4..8043b7c5213 100644
--- a/library/std/src/sys/sgx/env.rs
+++ b/library/std/src/sys/sgx/env.rs
@@ -1,9 +1,9 @@
 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 = ".sgxs";
-    pub const DLL_EXTENSION: &'static str = "sgxs";
-    pub const EXE_SUFFIX: &'static str = ".sgxs";
-    pub const EXE_EXTENSION: &'static str = "sgxs";
+    pub const FAMILY: &str = "";
+    pub const OS: &str = "";
+    pub const DLL_PREFIX: &str = "";
+    pub const DLL_SUFFIX: &str = ".sgxs";
+    pub const DLL_EXTENSION: &str = "sgxs";
+    pub const EXE_SUFFIX: &str = ".sgxs";
+    pub const EXE_EXTENSION: &str = "sgxs";
 }
diff --git a/library/std/src/sys/sgx/path.rs b/library/std/src/sys/sgx/path.rs
index 06c9df3ff54..840a7ae0426 100644
--- a/library/std/src/sys/sgx/path.rs
+++ b/library/std/src/sys/sgx/path.rs
@@ -15,5 +15,5 @@ pub fn parse_prefix(_: &OsStr) -> Option<Prefix<'_>> {
     None
 }
 
-pub const MAIN_SEP_STR: &'static str = "/";
+pub const MAIN_SEP_STR: &str = "/";
 pub const MAIN_SEP: char = '/';