We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57a43a0 commit ae1510cCopy full SHA for ae1510c
src/js_doc.rs
@@ -86,10 +86,9 @@ impl From<String> for JsDoc {
86
if current_tag_name == "description" {
87
if let Some(caps) =
88
JS_DOC_TAG_WITH_VALUE_RE.captures(¤t_tag)
89
+ && let Some(m) = caps.get(2)
90
{
- if let Some(m) = caps.get(2) {
91
- description_override = Some(m.as_str().to_string());
92
- }
+ description_override = Some(m.as_str().to_string());
93
}
94
} else {
95
tags.push(current_tag.into());
0 commit comments