diff options
| author | ljedrz <ljedrz@gmail.com> | 2018-12-04 12:46:10 +0100 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2018-12-04 12:46:10 +0100 |
| commit | d0c64bb29631fc5e5fafbe88374e7e1325b70ba5 (patch) | |
| tree | ff7a7379405a9196475630fec7c0f268310935d7 /src/libcore/fmt | |
| parent | 91d5d56c00d8e2926ccf856f14a4e52ef480d039 (diff) | |
cleanup: remove static lifetimes from consts
Diffstat (limited to 'src/libcore/fmt')
| -rw-r--r-- | src/libcore/fmt/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index 75ec0d7d50b..0c5256b981e 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -1381,7 +1381,7 @@ impl<'a> Formatter<'a> { for part in formatted.parts { match *part { flt2dec::Part::Zero(mut nzeroes) => { - const ZEROES: &'static str = // 64 zeroes + const ZEROES: &str = // 64 zeroes "0000000000000000000000000000000000000000000000000000000000000000"; while nzeroes > ZEROES.len() { self.buf.write_str(ZEROES)?; |
