From f014d54bafb67169b1e429423dcfd05a5af79eb0 Mon Sep 17 00:00:00 2001 From: Nathan Essex Date: Sat, 6 Nov 2021 18:30:23 +0900 Subject: [PATCH] Add hello_world example --- examples/hello_world/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/hello_world/main.rs diff --git a/examples/hello_world/main.rs b/examples/hello_world/main.rs new file mode 100644 index 0000000..804decf --- /dev/null +++ b/examples/hello_world/main.rs @@ -0,0 +1,7 @@ +fn main() { + use rlp_iter::RlpIterator; + + for i in (0..=100).rlp_iter() { + println!("{}", i); + } +}