From b4ee5039fc0b3a30fcb01baf93d9e9fd51430582 Mon Sep 17 00:00:00 2001 From: Jakub Stasiak Date: Mon, 7 Apr 2014 00:34:41 +0100 Subject: [PATCH] Fix schema example in the documentation --- docs/quickstart.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 4024ba2..aa89b89 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -26,7 +26,7 @@ This will look all through all the directories in your sys.path/PYTHONPATH, and For future reference, here is the Cap'n Proto schema. Also available in the github repository under `examples/addressbook.capnp `_:: # addressbook.capnp - 0x934efea7f017fff0; + @0x934efea7f017fff0; const qux :UInt32 = 123; @@ -47,11 +47,11 @@ For future reference, here is the Cap'n Proto schema. Also available in the gith } } - employment @4 union { - unemployed @5 :Void; - employer @6 :Text; - school @7 :Text; - selfEmployed @8 :Void; + employment :union { + unemployed @4 :Void; + employer @5 :Text; + school @6 :Text; + selfEmployed @7 :Void; # We assume that a person is only one of these. } }