rust/src/libstd/path
Aaron Turon 8f9cbe08c6 Add ToCStr impl for &Path and StrBuf
This is a stopgap until DST (#12938) lands.

Until DST lands, we cannot decompose &str into & and str, so we cannot
usefully take ToCStr arguments by reference (without forcing an
additional & around &str). So we are instead temporarily adding an
instance for &Path and StrBuf, so that we can take ToCStr as owned. When
DST lands, the &Path instance should be removed, the string instances
should be revisted, and arguments bound by ToCStr should be passed by
reference.

FIXMEs have been added accordingly.
2014-05-14 22:42:46 -07:00
..
mod.rs std: Make ~[T] no longer a growable vector 2014-04-18 10:06:24 -07:00
posix.rs Add ToCStr impl for &Path and StrBuf 2014-05-14 22:42:46 -07:00
windows.rs Add ToCStr impl for &Path and StrBuf 2014-05-14 22:42:46 -07:00