cleanup: remove static lifetimes from consts in libstd
This commit is contained in:
parent
91d5d56c00
commit
8c4129cd9a
16 changed files with 173 additions and 173 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue