Improved example in the Guide

Fixes https://github.com/rust-lang/rust/issues/15452
auto merge of #15456 : aochagavia/rust/guide, r=alexcrichton

Fixes https://github.com/rust-lang/rust/issues/15452