Guide: generics

I don't even wear my glasses. :P

Am 07.08.2014 um 23:38 schrieb Steve Klabnik:
>
> In src/doc/guide.md:
>
> > +    if x == 0.0 { return Err("x cannot be zero!".to_string()); }
> > +
> > +    Ok(1.0 / x)
> > +}
> > +```
> > +
> > +Just like how we had `Option<T>`, we use a similar syntax for `inverse<T>`.
> > +We can then use `T` inside the rest of the signature: `x` has type `T`, and half
> > +of the `Result` has type `T`. However, if we try to compile that example, we'll get
> > +an error:
> > +
> > +```{notrust,ignore}
> > +error: binary operation `==` cannot be applied to type `T`
> > +```
> > +
> > +Because `T` can be _any_ type, it may be a type that doesn't implement `<`,
> Sharp eyes.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/rust-lang/rust/pull/16273/files#r15966040>.
>