]> git.lizzy.rs Git - rust.git/commit
test: implement a no-alloc -> &str method for TestName.
authorHuon Wilson <dbau.pp+github@gmail.com>
Mon, 5 May 2014 09:15:17 +0000 (19:15 +1000)
committerHuon Wilson <dbau.pp+github@gmail.com>
Thu, 15 May 2014 11:17:35 +0000 (21:17 +1000)
commit2f0f017d3e6a34a956c8d969b12a3905934a649b
tree728365f696d36bfc03a2c0951b64ecd60e617294
parentfedffa785eb1def61d012e8e614d562afaf19a6e
test: implement a no-alloc -> &str method for TestName.

This is far cheaper than the `.to_str` technique that was used previously.
src/libtest/lib.rs