From ae7befcbee10645aad8b212598fd94737502cfb8 Mon Sep 17 00:00:00 2001 From: b1ek Date: Tue, 22 Aug 2023 17:46:13 +1000 Subject: [PATCH] fix readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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