diff --git a/README.md b/README.md index 08da6a8..c66bb24 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file