Change traits.rs error to match example code
Consistently use 4 spaces for rust indentation
Merge pull request #49 from aag/errata

Indentation and error message fixes