Commit 32836bb3 authored by Kenton Varda's avatar Kenton Varda

Merge pull request #56 from wcn3/master

doc: Fix documentation pseudocode to match description.
parents f302262a b8ebba7c
......@@ -83,10 +83,10 @@ file `foo` in directory `bar` takes four round trips!
{% highlight python %}
# pseudocode
foo = root.open("foo"); # 1
bar = foo.open("bar"); # 2
size = bar.size(); # 3
data = bar.read(0, size); # 4
bar = root.open("bar"); # 1
foo = bar.open("foo"); # 2
size = foo.size(); # 3
data = foo.read(0, size); # 4
# The above is four calls but takes only one network
# round trip with Cap'n Proto!
{% endhighlight %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment