Skip to content

Commit 7037ec2

Browse files
committed
---
yaml --- r: 73258 b: refs/heads/dist-snap c: 06d196a h: refs/heads/master v: v3
1 parent 71be203 commit 7037ec2

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
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: b50030718cf28f2a5a81857a26b57442734fe854
10-
refs/heads/dist-snap: 91d3e7f1a0757bf314ab3a4c4be8f910e2355d35
10+
refs/heads/dist-snap: 06d196ad5fe2d06eb32478b75c09c0a6063f5d9b
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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/dist-snap/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)