Addressed PR comments
This commit is contained in:
parent
a641996796
commit
c8dd2d066d
18 changed files with 237 additions and 90 deletions
|
@ -1469,7 +1469,7 @@ fn full_path(cx: &Context, item: &clean::Item) -> String {
|
|||
|
||||
fn shorter<'a>(s: Option<&'a str>) -> &'a str {
|
||||
match s {
|
||||
Some(s) => match s.find_str("\n\n") {
|
||||
Some(s) => match s.find("\n\n") {
|
||||
Some(pos) => &s[..pos],
|
||||
None => s,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue