mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-29 17:33:45 +00:00
Don't generate docs for top-level expect
s
This commit is contained in:
parent
55931bca9e
commit
d56a1edd91
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue