From 18bee38bbea9ffc784a5857b6f819b1b529b22fc Mon Sep 17 00:00:00 2001 From: Young-il Choi Date: Sat, 1 Jun 2013 18:09:20 +0900 Subject: [PATCH] compiletest: update for language change --- src/compiletest/runtest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index 5673cce26685e..c174057aaaa85 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -781,7 +781,7 @@ fn _arm_exec_compiled_test(config: &config, props: &TestProps, let mut exitcode : int = 0; for str::each_char(exitcode_out) |c| { - if !char::is_digit(c) { break; } + if !c.is_digit() { break; } exitcode = exitcode * 10 + match c { '0' .. '9' => c as int - ('0' as int), _ => 101,