End of rework of Attributes struct
This commit is contained in:
parent
c4739bc920
commit
122b141f58
11 changed files with 145 additions and 136 deletions
|
@ -314,9 +314,10 @@ impl DocFolder for Cache {
|
|||
ty: item.type_(),
|
||||
name: s.to_string(),
|
||||
path: path.join("::"),
|
||||
desc: item
|
||||
.doc_value()
|
||||
.map_or_else(|| String::new(), short_markdown_summary),
|
||||
desc: item.doc_value().map_or_else(
|
||||
|| String::new(),
|
||||
|x| short_markdown_summary(&x.as_str()),
|
||||
),
|
||||
parent,
|
||||
parent_idx: None,
|
||||
search_type: get_index_search_type(&item),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue