1
Fork 0

cleanup: remove static lifetimes from consts in libstd

This commit is contained in:
ljedrz 2018-12-04 10:21:42 +01:00
parent 91d5d56c00
commit 8c4129cd9a
16 changed files with 173 additions and 173 deletions

View file

@ -65,7 +65,7 @@ mod as_keyword { }
/// look like this:
///
/// ```rust
/// const WORDS: &'static str = "hello rust!";
/// const WORDS: &str = "hello rust!";
/// ```
///
/// Thanks to static lifetime elision, you usually don't have to explicitly use 'static: