diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-11-18 13:25:09 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-11-18 18:27:30 -0800 |
| commit | 500a8f15c9afdd4e98e1d1573e34dd2b948f9773 (patch) | |
| tree | 37d9a289e563155bfd15c3dc79af525cf7a88d7e /src/libstd/io | |
| parent | 7fc3e82aaeb15c067a1eed914032ba21a7763557 (diff) | |
| download | rust-500a8f15c9afdd4e98e1d1573e34dd2b948f9773.tar.gz rust-500a8f15c9afdd4e98e1d1573e34dd2b948f9773.zip | |
libstd: Change all `~fn()`s to `proc`s in the standard library.
This makes `Cell`s no longer necessary in most cases.
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/net/unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/net/unix.rs b/src/libstd/io/net/unix.rs index c6b4a2f2a42..438261ba8a0 100644 --- a/src/libstd/io/net/unix.rs +++ b/src/libstd/io/net/unix.rs @@ -157,7 +157,7 @@ mod tests { use io::*; use rt::comm::oneshot; - fn smalltest(server: ~fn(UnixStream), client: ~fn(UnixStream)) { + fn smalltest(server: proc(UnixStream), client: proc(UnixStream)) { let server = Cell::new(server); let client = Cell::new(client); do run_in_mt_newsched_task { |
