Remove an unused variable in a test of std::c_str.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
OGINO Masanori 2014-02-08 14:38:14 +09:00
parent f7eb705248
commit d4898e72e3

View File

@ -524,7 +524,6 @@ mod tests {
#[test]
fn test_to_c_str_fail() {
use task;
let mut error_happened = false;
assert!(task::try(proc() { "he\x00llo".to_c_str() }).is_err());
}