refactor: use contextual empty slice literals
This commit is contained in:
@@ -10,6 +10,8 @@ build Honey from this directory:
|
||||
bro build
|
||||
```
|
||||
|
||||
the bootstrap must support contextual `&[]` literals for mutable slices; collection initialization and reset use these literals instead of a dedicated empty-slice helper. if the installed `bro` predates that feature, use `../brolang/build/brolang build` after rebuilding Bro. zero-sized elements with nonzero logical lengths still use the memory module's specialized storage handling.
|
||||
|
||||
run a source file with the interpreter:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user