mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-23 20:56:42 +00:00
fix: strip out the line containing the return type (#803)
This commit is contained in:
parent
58b8015386
commit
41868aa0f4
3 changed files with 18 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ pub fn identify_func_docs(converted: &str) -> StrResult<TidyFuncDocs> {
|
|||
continue;
|
||||
};
|
||||
|
||||
break_line = Some(i);
|
||||
return_ty = Some(w.trim().into());
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue