Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(90)

Unified Diff: src/cmd/dist/README

Issue 7232060: code review 7232060: cmd/dist: fix code example in README (Closed)
Patch Set: diff -r c7d3755060da https://code.google.com/p/go/ Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/dist/README
===================================================================
--- a/src/cmd/dist/README
+++ b/src/cmd/dist/README
@@ -31,8 +31,8 @@
... main code ...
bprintf(&b1, "hello, world");
vadd(&v1, bstr(&b1)); // v1 takes a copy of its argument
- bprintf(&b1, "another string");
- vadd(&v1, bstr(&b1)); // v1 now has two strings
+ bprintf(&b2, "another string");
+ vadd(&v1, bstr(&b2)); // v1 now has two strings
bfree(&b1);
bfree(&b2);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b