fix readme

This commit is contained in:
b1ek 2023-08-22 17:46:13 +10:00
parent f80f252eb0
commit ae7befcbee
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ fn eval_mem(bf_str: &&str, mem: &mut [u8], pointer: &mut usize) -> Result<(), St
Example code:
```rs
// print "Hello world!"
eval("++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.").unwrap();
eval(&"++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.").unwrap();
```
Also check out `examples/` directory