1
Fork 0

Rollup merge of #62123 - jeremystucki:needless_lifetimes_std, r=alexcrichton

Remove needless lifetimes (std)

Split from #62039
This commit is contained in:
Mazdak Farrokhzad 2019-07-05 13:52:58 +02:00 committed by GitHub
commit 0f92eb8a4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 26 additions and 26 deletions

View file

@ -2541,7 +2541,7 @@ fn full_path(cx: &Context, item: &clean::Item) -> String {
s
}
fn shorter<'a>(s: Option<&'a str>) -> String {
fn shorter(s: Option<&str>) -> String {
match s {
Some(s) => s.lines()
.skip_while(|s| s.chars().all(|c| c.is_whitespace()))