Skip to content

Commit f396297

Browse files
committed
---
yaml --- r: 63418 b: refs/heads/snap-stage3 c: 819d07a h: refs/heads/master v: v3
1 parent 5602fe3 commit f396297

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
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: 98bd68343c053ff62cbc6617d04e34c54a3cf720
4+
refs/heads/snap-stage3: 819d07af7f73af36a2bef102b92e5a8701122312
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/README.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Source layout:
44

55
librustc/ The self-hosted compiler
66

7-
libcore/ The core library (imported and linked by default)
8-
libstd/ The standard library (slightly more peripheral code)
7+
libstd/ The standard library (imported and linked by default)
8+
libextra/ The "extras" library (slightly more peripheral code)
99
libsyntax/ The Rust parser and pretty-printer
1010

1111
rt/ The runtime system

branches/snap-stage3/src/libextra/std.rc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010

1111
/*!
1212

13-
The Rust standard library.
13+
The Rust "extras" library.
1414

15-
The Rust standand library provides a number of useful features that are
16-
not required in or otherwise suitable for the core library.
15+
The Rust extras library (`extra`) provides a number of useful features that
16+
are not required in or otherwise suitable for the standard library (`std`).
1717

1818
*/
1919

2020
#[link(name = "extra",
2121
vers = "0.7-pre",
2222
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
23-
url = "https://github.com/mozilla/rust/tree/master/src/libstd")];
23+
url = "https://github.com/mozilla/rust/tree/master/src/libextra")];
2424

25-
#[comment = "The Rust standard library"];
25+
#[comment = "The Rust extras library"];
2626
#[license = "MIT/ASL2"];
2727
#[crate_type = "lib"];
2828

@@ -128,7 +128,7 @@ pub mod test;
128128
pub mod serialize;
129129

130130
// A curious inner-module that's not exported that contains the binding
131-
// 'extra' so that macro-expanded references to std::serialize and such
131+
// 'extra' so that macro-expanded references to extra::serialize and such
132132
// can be resolved within libextra.
133133
#[doc(hidden)]
134134
pub mod std {

branches/snap-stage3/src/libstd/core.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ with the `std::` path prefix, as in `use std::vec`, `use std::task::spawn`,
3838
etc.
3939

4040
Additionally, `std` contains a `prelude` module that reexports many of the
41-
most common std modules, types and traits. The contents of the prelude are
41+
most common `std` modules, types and traits. The contents of the prelude are
4242
imported into every *module* by default. Implicitly, all modules behave as if
4343
they contained the following prologue:
4444

@@ -66,7 +66,7 @@ they contained the following prologue:
6666
#[deny(non_camel_case_types)];
6767
#[deny(missing_doc)];
6868

69-
// Make core testable by not duplicating lang items. See #2912
69+
// Make std testable by not duplicating lang items. See #2912
7070
#[cfg(test)] extern mod realstd(name = "std");
7171
#[cfg(test)] pub use kinds = realstd::kinds;
7272
#[cfg(test)] pub use ops = realstd::ops;

branches/snap-stage3/src/libstd/libc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
* This module contains bindings to the C standard library,
1515
* organized into modules by their defining standard.
1616
* Additionally, it contains some assorted platform-specific definitions.
17-
* For convenience, most functions and types are reexported from `core::libc`,
18-
* so `pub use core::libc::*` will import the available
17+
* For convenience, most functions and types are reexported from `std::libc`,
18+
* so `pub use std::libc::*` will import the available
1919
* C bindings as appropriate for the target platform. The exact
2020
* set of functions available are platform specific.
2121
*

0 commit comments

Comments
 (0)