fix typos in doc/tutorial.md
auto merge of #9836 : eriklyon/rust/doc-typos, r=alexcrichton
allow 'self lifetime in static trait methods
add test case
this appears to work
remove unused variables
cleanup
more cleanup