diff options
| author | Graydon Hoare <[email protected]> | 2011-04-19 13:35:49 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-19 13:35:49 -0700 |
| commit | d2bd07dcb02783063375b6c8532fceaf9fa9d50f (patch) | |
| tree | a253b5eadb140d14bc99d1456e316ce1e210a6be /src/lib/posix_fs.rs | |
| parent | rustc: Allow glue to be emitted even for scalar types; this is necessary to s... (diff) | |
| download | rust-d2bd07dcb02783063375b6c8532fceaf9fa9d50f.tar.xz rust-d2bd07dcb02783063375b6c8532fceaf9fa9d50f.zip | |
Remove effect system from src.
Diffstat (limited to 'src/lib/posix_fs.rs')
| -rw-r--r-- | src/lib/posix_fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/posix_fs.rs b/src/lib/posix_fs.rs index 0a37f85d..03115fc7 100644 --- a/src/lib/posix_fs.rs +++ b/src/lib/posix_fs.rs @@ -2,7 +2,7 @@ native "rust" mod rustrt { fn rust_dirent_filename(os.libc.dirent ent) -> str; } -impure fn list_dir(str path) -> vec[str] { +fn list_dir(str path) -> vec[str] { // TODO ensure this is always closed auto dir = os.libc.opendir(_str.buf(path)); check (dir as uint != 0u); |