Skip to content

Commit

Permalink
Fixed documentation for comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Matveyev committed Jul 27, 2021
1 parent cbc70fe commit ee9661e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -253,6 +253,5 @@ a node
```
Output:
```
null -> "a node"
-> "a child"
```
null -> "a node" -> "a child"
```
5 changes: 2 additions & 3 deletions src/main.zig
Expand Up @@ -82,12 +82,11 @@
//! Comments begin with # and run up to the end of the line. Their indentation follows the same
//! rules as nodes.
//! \\# A comment
//! \\a nodetend
//! \\a node
//! \\ # Another comment
//! \\ a sibling
//! Output:
//! null -> "a node"
//! -> "a sibling"
//! null -> "a node" -> "a sibling"

const std = @import("std");

Expand Down

0 comments on commit ee9661e

Please sign in to comment.