Skip to content

Commit bb5ad65

Browse files
committed
---
yaml --- r: 62514 b: refs/heads/snap-stage3 c: 06d196a h: refs/heads/master v: v3
1 parent 48c7372 commit bb5ad65

File tree

3 files changed

+2
-37
lines changed

3 files changed

+2
-37
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 91d3e7f1a0757bf314ab3a4c4be8f910e2355d35
4+
refs/heads/snap-stage3: 06d196ad5fe2d06eb32478b75c09c0a6063f5d9b
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libcore/io.rs

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,7 @@
1010

1111
/*!
1212
13-
The `io` module contains basic input and output routines.
14-
15-
A quick summary:
16-
17-
## `Reader` and `Writer` traits
18-
19-
These traits define the minimal set of methods that anything that can do
20-
input and output should implement.
21-
22-
## `ReaderUtil` and `WriterUtil` traits
23-
24-
Richer methods that allow you to do more. `Reader` only lets you read a certain
25-
number of bytes into a buffer, while `ReaderUtil` allows you to read a whole
26-
line, for example.
27-
28-
Generally, these richer methods are probably the ones you want to actually
29-
use in day-to-day Rust.
30-
31-
Furthermore, because there is an implementation of `ReaderUtil` for
32-
`<T: Reader>`, when your input or output code implements `Reader`, you get
33-
all of these methods for free.
34-
35-
## `print` and `println`
36-
37-
These very useful functions are defined here. You generally don't need to
38-
import them, though, as the prelude already does.
39-
40-
## `stdin`, `stdout`, and `stderr`
41-
42-
These functions return references to the classic three file descriptors. They
43-
implement `Reader` and `Writer`, where appropriate.
13+
Basic input/output
4414
4515
*/
4616

branches/snap-stage3/src/libcore/logging.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ use option::*;
1414
use either::*;
1515
use rt;
1616
use rt::logging::{Logger, StdErrLogger};
17-
use io;
18-
use libc;
19-
use repr;
20-
use vec;
2117
use cast;
2218
use str;
2319

@@ -45,7 +41,6 @@ pub fn console_off() {
4541
#[lang="log_type"]
4642
pub fn log_type<T>(level: u32, object: &T) {
4743
use container::Container;
48-
use cast::transmute;
4944
use io;
5045
use libc;
5146
use repr;

0 commit comments

Comments
 (0)