···
528
528
doc_attribute(DocCommentKind::Module, DocCommentContent::False)
529
529
}
530
530
531
531
-
fn module_doc<'a, 'b>(content: &'a Vec<EcoString>) -> Document<'b> {
531
531
+
fn module_doc<'a>(content: &Vec<EcoString>) -> Document<'a> {
532
532
doc_attribute(DocCommentKind::Module, DocCommentContent::String(content))
533
533
}
534
534
···
536
536
doc_attribute(DocCommentKind::Function, DocCommentContent::False)
537
537
}
538
538
539
539
-
fn function_doc<'a, 'b>(content: &'a Vec<EcoString>) -> Document<'b> {
539
539
+
fn function_doc<'a>(content: &Vec<EcoString>) -> Document<'a> {
540
540
doc_attribute(DocCommentKind::Function, DocCommentContent::String(content))
541
541
}
542
542
543
543
-
fn doc_attribute<'a, 'b>(kind: DocCommentKind, content: DocCommentContent<'b>) -> Document<'a> {
543
543
+
fn doc_attribute<'a>(kind: DocCommentKind, content: DocCommentContent<'_>) -> Document<'a> {
544
544
let prefix = match kind {
545
545
DocCommentKind::Module => "?MODULEDOC",
546
546
DocCommentKind::Function => "?DOC",