rust-lang/rust — pull request #19447 by csouth3 (2014-12-02 00:44:32+00:00)
Title: Make std::io::TempDir::{new, new_in} accept a BytesContainer as a suffix

This pull request addresses #19437. It was mentioned that Paths can be constructed with any `BytesContainer`, whereas `TempDir`'s constructors specifically require an `&str`. There's no reason that `TempDir`'s constructors shouldn't be able to accept any `BytesContainer` however, so long as the suffix is a valid UTF-8 string.

Closes #19437.