guide-pointers.md: C sample code should match the Rust version.

Fix rust-lang/rust#17255
This commit is contained in:
NODA, Kai 2014-09-24 21:47:11 +08:00
parent c669411afa
commit de027a8b1f
1 changed files with 1 additions and 0 deletions

View File

@ -505,6 +505,7 @@ As being similar to this C code:
{
int *x;
x = (int *)malloc(sizeof(int));
*x = 5;
// stuff happens