fix deprecated usage
auto merge of #221 : steveklabnik/cargo/master, r=alexcrichton

This gave a deprecation warning when building master a few minutes ago.