Guide: patterns.

Fixes #4417.
Maybe this could have a less trivial pattern to demonstrate the actual use of `ref`, e.g. `match x { Some(ref y) => ..., None => ...`. This could then talk about how the `y` reference points directly into the memory of `x`.