summary refs log tree commit diff
path: root/src/libstd/io/tempfile.rs
AgeCommit message (Collapse)AuthorLines
2014-05-28std: Remove format_strbuf!()Alex Crichton-4/+4
This was only ever a transitionary macro.
2014-05-22libstd: Remove `~str` from all `libstd` modules except `fmt` and `str`.Patrick Walton-4/+5
2014-05-15std: Modify TempDir to not fail on drop. Closes #12628Brian Anderson-9/+27
After discussion with Alex, we think the proper policy is for dtors to not fail. This is consistent with C++. BufferedWriter already does this, so this patch modifies TempDir to not fail in the dtor, adding a `close` method for handling errors on destruction.
2014-05-07core: Add unwrap()/unwrap_err() methods to ResultAlex Crichton-1/+1
These implementations must live in libstd right now because the fmt module has not been migrated yet. This will occur in a later PR. Just to be clear, there are new extension traits, but they are not necessary once the std::fmt module has migrated to libcore, which is a planned migration in the future.
2014-03-31std: Switch field privacy as necessaryAlex Crichton-1/+1
2014-03-14extra: Put the nail in the coffin, delete libextraAlex Crichton-0/+93
This commit shreds all remnants of libextra from the compiler and standard distribution. Two modules, c_vec/tempfile, were moved into libstd after some cleanup, and the other modules were moved to separate crates as seen fit. Closes #8784 Closes #12413 Closes #12576