diff options
Diffstat (limited to 'src/syntax')
| -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") } } |
