diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2018-12-05 23:54:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-05 23:54:36 +0100 |
| commit | bcf2fa190ef1e6c99ca04a5df03009156a0148e7 (patch) | |
| tree | 8fe85c44535b72aa42dd11e8137035c61f33a944 /src/libstd/sys_common | |
| parent | d07d299cba0f179dca1c4052e13d49943e21f842 (diff) | |
| parent | 8c4129cd9ae079fc010b8e3d73a72659b2f0a986 (diff) | |
| download | rust-bcf2fa190ef1e6c99ca04a5df03009156a0148e7.tar.gz rust-bcf2fa190ef1e6c99ca04a5df03009156a0148e7.zip | |
Rollup merge of #56497 - ljedrz:cleanup_libstd_const_lifetimes, r=kennytm
cleanup: remove static lifetimes from consts in libstd
Diffstat (limited to 'src/libstd/sys_common')
| -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. /// |
