Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 2c878fb

Browse files
author
Marko Mikulicic
committed
Fix diagram
1 parent eca69d8 commit 2c878fb

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/ast.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ use serde_json::Value;
1111
/// For example, the JSONPath `$.foo.bar` yields this AST:
1212
///
1313
/// ```text
14-
/// ^
15-
/// / \
16-
/// ^ \___ DotName("bar")
17-
/// / \
18-
/// ^ \___ DotName("foo")
19-
/// /
20-
/// Root ___/
14+
/// ^
15+
/// / \
16+
/// ^ \___ DotName("bar")
17+
/// / \
18+
/// Root ___ / \___ DotName("foo")
2119
/// ```
2220
///
2321
/// A more complicated example: `$.foo[1,2]["bar"]`:

0 commit comments

Comments
 (0)