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_common/wtf8.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_common/wtf8.rs')
| -rw-r--r-- | src/libstd/sys_common/wtf8.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys_common/wtf8.rs b/src/libstd/sys_common/wtf8.rs index 19ce932aa12..3530b7af9ad 100644 --- a/src/libstd/sys_common/wtf8.rs +++ b/src/libstd/sys_common/wtf8.rs @@ -40,7 +40,7 @@ use str; use sync::Arc; use sys_common::AsInner; -const UTF8_REPLACEMENT_CHARACTER: &'static str = "\u{FFFD}"; +const UTF8_REPLACEMENT_CHARACTER: &str = "\u{FFFD}"; /// A Unicode code point: from U+0000 to U+10FFFF. ///  | 
