Update tutorials to use new attribute syntax (#13476)
auto merge of #13477 : Manishearth/rust/newattr, r=brson

See #13476