diff options
| author | Young-il Choi <duddlf.choi@samsung.com> | 2013-06-01 18:09:20 +0900 |
|---|---|---|
| committer | Young-il Choi <duddlf.choi@samsung.com> | 2013-06-01 18:09:20 +0900 |
| commit | 18bee38bbea9ffc784a5857b6f819b1b529b22fc (patch) | |
| tree | a9ad7f7c4d49447750b93f581150b76a163fa218 | |
| parent | 89c5ad69f052cf9f8ee5e8db6af4bf31a626088b (diff) | |
| download | rust-18bee38bbea9ffc784a5857b6f819b1b529b22fc.tar.gz rust-18bee38bbea9ffc784a5857b6f819b1b529b22fc.zip | |
compiletest: update for language change
| -rw-r--r-- | src/compiletest/runtest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index 5673cce2668..c174057aaaa 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, |
