fix readme
This commit is contained in:
parent
f80f252eb0
commit
ae7befcbee
|
@ -21,7 +21,7 @@ fn eval_mem(bf_str: &&str, mem: &mut [u8], pointer: &mut usize) -> Result<(), St
|
||||||
Example code:
|
Example code:
|
||||||
```rs
|
```rs
|
||||||
// print "Hello world!"
|
// print "Hello world!"
|
||||||
eval("++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.").unwrap();
|
eval(&"++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.").unwrap();
|
||||||
```
|
```
|
||||||
|
|
||||||
Also check out `examples/` directory
|
Also check out `examples/` directory
|
Loading…
Reference in New Issue