End of rework of Attributes struct

This commit is contained in:
Guillaume Gomez
2020-12-19 15:04:42 +01:00
parent c4739bc920
commit 122b141f58
11 changed files with 145 additions and 136 deletions

View File

@@ -238,7 +238,7 @@ impl<'a, 'b> fold::DocFolder for CoverageCalculator<'a, 'b> {
&i.attrs
.doc_strings
.iter()
.map(|d| d.doc.as_str())
.map(|d| d.doc.to_string())
.collect::<Vec<_>>()
.join("\n"),
&mut tests,