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/libsyntax_pos | |
| parent | 91d5d56c00d8e2926ccf856f14a4e52ef480d039 (diff) | |
| download | rust-d0c64bb29631fc5e5fafbe88374e7e1325b70ba5.tar.gz rust-d0c64bb29631fc5e5fafbe88374e7e1325b70ba5.zip | |
cleanup: remove static lifetimes from consts
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/edition.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/edition.rs b/src/libsyntax_pos/edition.rs index 5819cd7f480..54b24054401 100644 --- a/src/libsyntax_pos/edition.rs +++ b/src/libsyntax_pos/edition.rs @@ -33,7 +33,7 @@ pub enum Edition { // must be in order from oldest to newest pub const ALL_EDITIONS: &[Edition] = &[Edition::Edition2015, Edition::Edition2018]; -pub const EDITION_NAME_LIST: &'static str = "2015|2018"; +pub const EDITION_NAME_LIST: &str = "2015|2018"; pub const DEFAULT_EDITION: Edition = Edition::Edition2015; |
