diff options
| author | bors <bors@rust-lang.org> | 2015-04-24 13:50:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-24 13:50:40 +0000 |
| commit | f191f924214aa1dcd342ada1d99775ccbb01ddd7 (patch) | |
| tree | aaba16e5f6fd64f9107b81b0c978914313f63b93 /src/libstd | |
| parent | 9d439b41777103b8b349635e68e9ccd3648aabc2 (diff) | |
| parent | 1447ee4c2031cfc0950b1bf0f658055e7a86e0c2 (diff) | |
| download | rust-f191f924214aa1dcd342ada1d99775ccbb01ddd7.tar.gz rust-f191f924214aa1dcd342ada1d99775ccbb01ddd7.zip | |
Auto merge of #24758 - Manishearth:rollup, r=Manishearth
- Successful merges: #24523, #24698, #24699, #24700, #24706, #24717, #24718, #24721, #24727 - Failed merges:
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/dynamic_lib.rs | 8 | ||||
| -rw-r--r-- | src/libstd/io/stdio.rs | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/libstd/dynamic_lib.rs b/src/libstd/dynamic_lib.rs index 8ca462f5a38..d0f990eaf78 100644 --- a/src/libstd/dynamic_lib.rs +++ b/src/libstd/dynamic_lib.rs @@ -40,14 +40,6 @@ impl Drop for DynamicLibrary { } impl DynamicLibrary { - // FIXME (#12938): 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, so that - // we can take ToCStr as owned. When DST lands, the &Path instance - // should be removed, and arguments bound by ToCStr should be - // passed by reference. (Here: in the `open` method.) - /// Lazily open a dynamic library. When passed None it gives a /// handle to the calling process pub fn open(filename: Option<&Path>) -> Result<DynamicLibrary, String> { diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs index cd6af77daa9..42fad701533 100644 --- a/src/libstd/io/stdio.rs +++ b/src/libstd/io/stdio.rs @@ -95,6 +95,8 @@ impl Write for StderrRaw { /// /// This handle implements the `Read` trait, but beware that concurrent reads /// of `Stdin` must be executed with care. +/// +/// Created by the function `io::stdin()`. #[stable(feature = "rust1", since = "1.0.0")] pub struct Stdin { inner: Arc<Mutex<BufReader<StdinRaw>>>, @@ -206,6 +208,8 @@ const OUT_MAX: usize = ::usize::MAX; /// Each handle shares a global buffer of data to be written to the standard /// output stream. Access is also synchronized via a lock and explicit control /// over locking is available via the `lock` method. +/// +/// Created by the function `io::stdout()`. #[stable(feature = "rust1", since = "1.0.0")] pub struct Stdout { // FIXME: this should be LineWriter or BufWriter depending on the state of |
