File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ pub const Node = {
180180### ` TreeCursor `
181181
182182A ` TreeCursor ` can be used to traverse through a tree's nodes in order.
183- ```
183+ ``` zig
184184var cursor = try tree.cursor();
185185
186186// ... or a cursor starting from any nested Map node
@@ -226,7 +226,7 @@ Simple primitive reader API that reads tags from the encoded buffer one-by-one.
226226Use the ` Tree ` API if elements are to be accessed multiple times or random-access is required.
227227Otherwise, it is recommended to use the traversing ` Cursor ` API instead of using this directly.
228228
229- ```
229+ ``` zig
230230pub const Reader = struct {
231231 pub const TagType = enum {
232232 Null,
@@ -307,7 +307,7 @@ Unit tests are present in the `test/` directory.
307307Currently, the tests are limited and do not cover everything.
308308PRs to improve the quality of these tests are welcome.
309309
310- ```
310+ ``` bash
311311zig build test
312312```
313313
@@ -316,7 +316,7 @@ zig build test
316316Benchmarks are present in ` benchmark/ ` and use the [ zBench] ( https://github.com/hendriknielaender/zBench ) library.
317317
318318Run the benchmarks:
319- ```
319+ ``` bash
320320zig build bench
321321```
322322
You can’t perform that action at this time.
0 commit comments