]> git.lizzy.rs Git - rust.git/commit
Remove rt::io::support
authorAlex Crichton <alex@alexcrichton.com>
Wed, 16 Oct 2013 23:48:30 +0000 (16:48 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 24 Oct 2013 21:21:57 +0000 (14:21 -0700)
commit9110a38cbfd801983a838775c690c83e9189b4c3
treed4bdc0b6ee4dae3e40916dab864fcb06b2f10cb7
parent0cad9847652088b35ee4c13c04539ca3a67611f7
Remove rt::io::support

This removes the PathLike trait associated with this "support module". This is
yet another "container of bytes" trait, so I didn't want to duplicate what
already exists throughout libstd. In actuality, we're going to pass of C strings
to the libuv APIs, so instead the arguments are now bound with the 'ToCStr'
trait instead.

Additionally, a layer of complexity was removed by immediately converting these
type-generic parameters into CStrings to get handed off to libuv apis.
src/libstd/c_str.rs
src/libstd/os.rs
src/libstd/rt/io/file.rs
src/libstd/rt/io/mod.rs
src/libstd/rt/io/net/unix.rs
src/libstd/rt/io/support.rs [deleted file]
src/libstd/rt/rtio.rs
src/libstd/rt/uv/file.rs
src/libstd/rt/uv/uvio.rs
src/libstd/str.rs