diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-01 17:54:31 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-01 17:54:31 +0100 |
| commit | 8cad78481cd52680317032c3bb84cacda5666489 (patch) | |
| tree | 7cc0d17b2ec6d231c33205fa4765de1d63ee32ea /src/syntax/node.rs | |
| parent | 2b6ccd82489afbcd679fb3199de2618fa8811325 (diff) | |
A few small improvements ♻
Diffstat (limited to 'src/syntax/node.rs')
| -rw-r--r-- | src/syntax/node.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax/node.rs b/src/syntax/node.rs index 866c935e..b7691a70 100644 --- a/src/syntax/node.rs +++ b/src/syntax/node.rs @@ -30,16 +30,16 @@ pub enum SynNode { Expr(Expr), } -/// A section heading. +/// A section heading: `# ...`. #[derive(Debug, Clone, PartialEq)] pub struct NodeHeading { - /// The section depth (how many hashtags minus 1). + /// The section depth (numer of hashtags minus 1). pub level: Spanned<u8>, /// The contents of the heading. pub contents: SynTree, } -/// A raw block, rendered in monospace with optional syntax highlighting. +/// A raw block with optional syntax highlighting: `` `raw` ``. /// /// Raw blocks start with an arbitrary number of backticks and end with the same /// number of backticks. If you want to include a sequence of backticks in a raw |
