Remove needless lifetimes
This commit is contained in:
committed by
Jeremy Stucki
parent
5748825cc8
commit
47ea8ae022
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user