diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-23 14:59:00 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-23 19:06:33 -0800 |
| commit | 5e13d19cc07a1e8fbf478d21cabbd7b9f80e3b54 (patch) | |
| tree | c1fc2dd89c651efa1daa4e7d63c5b82b2a5f4bd2 /src/compiletest/header.rs | |
| parent | 04351a84ca342f4580e40b9c195b5403b864090b (diff) | |
| download | rust-5e13d19cc07a1e8fbf478d21cabbd7b9f80e3b54.tar.gz rust-5e13d19cc07a1e8fbf478d21cabbd7b9f80e3b54.zip | |
s/block()/fn()/g
Diffstat (limited to 'src/compiletest/header.rs')
| -rw-r--r-- | src/compiletest/header.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs index cccce3e5f1b..71968abdd6d 100644 --- a/src/compiletest/header.rs +++ b/src/compiletest/header.rs @@ -63,7 +63,7 @@ fn is_test_ignored(config: config, testfile: str) -> bool { } } -fn iter_header(testfile: str, it: block(str)) { +fn iter_header(testfile: str, it: fn(str)) { let rdr = result::get(io::file_reader(testfile)); while !rdr.eof() { let ln = rdr.read_line(); |
