atilaneves / cerealed

Powerful binary serialisation library for D
BSD 3-Clause "New" or "Revised" License
92 stars 3 forks source link

Typo in example code #12

Closed cym13 closed 8 years ago

cym13 commented 8 years ago

I didn't want to go through the trouble of making a full pull request for so little but on the other hand it's important that example code work without any problem:

diff --git a/README.md b/README.md
index 192b10f..a700ea0 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ Example usage:
     cerealiser ~= cast(ubyte)42;
     assert(cerealiser.bytes == [ 0, 0, 0, 5, 42]);

-    auto deceralizer = Decerealizer([ 0, 0, 0, 5, 42]); //US spelling works too
+    auto decerealizer = Decerealizer([ 0, 0, 0, 5, 42]); //US spelling works too
     assert(decerealizer.value!int == 5);
     assert(decerealizer.value!ubyte == 42);
atilaneves commented 8 years ago

Thanks!