diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-21 12:50:33 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-21 12:50:33 +0100 |
| commit | ba294e2670814243122c9e4f560e0f21a4bec13d (patch) | |
| tree | 36bdf987dc53729bb4a176713b40e2ca7c08a874 /src/syntax/ast.rs | |
| parent | 959df6da3b6e3c5876e9d5627cb2970e32a0a37f (diff) | |
Split up list type into three separate types and document them
Diffstat (limited to 'src/syntax/ast.rs')
| -rw-r--r-- | src/syntax/ast.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax/ast.rs b/src/syntax/ast.rs index abbca5ec..5847e816 100644 --- a/src/syntax/ast.rs +++ b/src/syntax/ast.rs @@ -407,10 +407,10 @@ impl DescItem { } /// The description of the term. - pub fn body(&self) -> Markup { + pub fn description(&self) -> Markup { self.0 .cast_last_child() - .expect("description list item is missing body") + .expect("description list item is missing description") } } |
