mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
remove unreachable branch
This commit is contained in:
parent
cfbfbf09be
commit
9b670bf092
1 changed files with 0 additions and 19 deletions
|
@ -110,25 +110,6 @@ fn generate_module_doc<'a>(
|
||||||
_ => (acc, None),
|
_ => (acc, None),
|
||||||
},
|
},
|
||||||
|
|
||||||
AnnotatedBody { ann_pattern, .. } => match ann_pattern.value {
|
|
||||||
Pattern::Identifier(identifier) => {
|
|
||||||
// Check if the definition is exposed
|
|
||||||
if exposed_ident_ids
|
|
||||||
.get_id(&InlinableString::from(identifier))
|
|
||||||
.is_some()
|
|
||||||
{
|
|
||||||
let entry = DocEntry {
|
|
||||||
name: identifier.to_string(),
|
|
||||||
docs: before_comments_or_new_lines.and_then(comments_or_new_lines_to_docs),
|
|
||||||
};
|
|
||||||
acc.push(entry);
|
|
||||||
}
|
|
||||||
(acc, None)
|
|
||||||
}
|
|
||||||
|
|
||||||
_ => (acc, None),
|
|
||||||
},
|
|
||||||
|
|
||||||
Alias {
|
Alias {
|
||||||
name: _,
|
name: _,
|
||||||
vars: _,
|
vars: _,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue