mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-23 00:39:35 +03:00
Don't generate docs for top-level expect
s
This commit is contained in:
parent
55931bca9e
commit
d56a1edd91
@ -200,7 +200,10 @@ fn generate_entry_docs<'a>(
|
||||
|
||||
ValueDef::Body(_, _) => (),
|
||||
|
||||
ValueDef::Expect(c) => todo!("documentation for tests {:?}", c),
|
||||
ValueDef::Expect(_) => {
|
||||
// Don't generate docs for `expect`s
|
||||
()
|
||||
}
|
||||
},
|
||||
Ok(type_index) => match &defs.type_defs[type_index.index()] {
|
||||
TypeDef::Alias {
|
||||
|
Loading…
Reference in New Issue
Block a user