Skip to content

Commit a52d758

Browse files
committed
---
yaml --- r: 94799 b: refs/heads/try c: b27c53b h: refs/heads/master i: 94797: e34f1ce 94795: df54b62 94791: 60d3d30 94783: 48675ab v: v3
1 parent f055e1d commit a52d758

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+50
-78
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 0da105a8b7b6b1e0568e8ff20f6ff4b13cc7ecc2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d3e57dca68fde4effdda3e4ae2887aa535fcd6
5-
refs/heads/try: aa5d779a3590b1ed1559e0489138040a71ae688b
5+
refs/heads/try: b27c53b15f820a3dd8fdab455f3f7f2b1d4ac9c5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
branch = master
99
[submodule "src/gyp"]
1010
path = src/gyp
11-
url = https://github.com/alexcrichton/gyp.git
11+
url = https://github.com/brson/gyp.git

branches/try/mk/docs.mk

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
######################################################################
1414

1515
DOCS :=
16-
CDOCS :=
1716
DOCS_L10N :=
1817

1918
BASE_DOC_OPTS := --from=markdown --standalone --toc --number-sections
@@ -233,21 +232,8 @@ doc/$(1)/index.html: $$(RUSTDOC) $$(TLIB2_T_$(3)_H_$(3))/$(CFG_STDLIB_$(3))
233232
DOCS += doc/$(1)/index.html
234233
endef
235234

236-
define compiledoc
237-
doc/$(1)/index.html: $$(RUSTDOC) $$(TLIB2_T_$(3)_H_$(3))/$(CFG_STDLIB_$(3))
238-
@$$(call E, rustdoc: $$@)
239-
$(Q)$(RUSTDOC) --cfg stage2 $(2)
240-
241-
CDOCS += doc/$(1)/index.html
242-
endef
243-
244235
$(eval $(call libdoc,std,$(STDLIB_CRATE),$(CFG_BUILD)))
245236
$(eval $(call libdoc,extra,$(EXTRALIB_CRATE),$(CFG_BUILD)))
246-
$(eval $(call libdoc,native,$(LIBNATIVE_CRATE),$(CFG_BUILD)))
247-
$(eval $(call libdoc,green,$(LIBGREEN_CRATE),$(CFG_BUILD)))
248-
249-
$(eval $(call compiledoc,rustc,$(COMPILER_CRATE),$(CFG_BUILD)))
250-
$(eval $(call compiledoc,syntax,$(LIBSYNTAX_CRATE),$(CFG_BUILD)))
251237

252238

253239
ifdef CFG_DISABLE_DOCS
@@ -270,7 +256,6 @@ doc/version_info.html: version_info.html.template $(MKFILE_DEPS) \
270256
GENERATED += doc/version.md doc/version_info.html
271257

272258
docs: $(DOCS)
273-
compiler-docs: $(CDOCS)
274259

275260
docs-l10n: $(DOCS_L10N)
276261

branches/try/src/gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit 1e46da1000bc29679ab4cebf3c1034cb7d6f4487
1+
Subproject commit f407f09c94e00d2d570e8e42114e3f6848b2deb2

branches/try/src/libgreen/sched.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ mod test {
14331433
drop(handle);
14341434

14351435
let mut handle = pool.spawn_sched();
1436-
handle.send(TaskFromFriend(pool.task(TaskOpts::new(), proc() {
1436+
handle.send(PinnedTask(pool.task(TaskOpts::new(), proc() {
14371437
// Wait until the other task has its lock
14381438
start_po.recv();
14391439

branches/try/src/librustdoc/clean.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,8 +1123,6 @@ fn lit_to_str(lit: &ast::lit) -> ~str {
11231123

11241124
fn name_from_pat(p: &ast::Pat) -> ~str {
11251125
use syntax::ast::*;
1126-
debug!("Trying to get a name from pattern: {:?}", p);
1127-
11281126
match p.node {
11291127
PatWild => ~"_",
11301128
PatWildMulti => ~"..",
@@ -1136,12 +1134,9 @@ fn name_from_pat(p: &ast::Pat) -> ~str {
11361134
PatBox(p) => name_from_pat(p),
11371135
PatUniq(p) => name_from_pat(p),
11381136
PatRegion(p) => name_from_pat(p),
1139-
PatLit(..) => {
1140-
warn!("tried to get argument name from PatLit, \
1141-
which is silly in function arguments");
1142-
~"()"
1143-
},
1144-
PatRange(..) => fail!("tried to get argument name from PatRange, \
1137+
PatLit(..) => fail!("tried to get argument name from pat_lit, \
1138+
which is not allowed in function arguments"),
1139+
PatRange(..) => fail!("tried to get argument name from pat_range, \
11451140
which is not allowed in function arguments"),
11461141
PatVec(..) => fail!("tried to get argument name from pat_vec, \
11471142
which is not allowed in function arguments")

branches/try/src/libstd/any.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Traits for dynamic typing of any type (through runtime reflection)
12-
//!
1311
//! This module implements the `Any` trait, which enables dynamic typing
1412
//! of any type, through runtime reflection.
1513
//!

branches/try/src/libstd/ascii.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations on ASCII strings and characters
11+
//! Operations on ASCII strings and characters.
1212
1313
use to_str::{ToStr,IntoStr};
1414
use str;

branches/try/src/libstd/at_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations on managed vectors (`@[T]` type)
11+
//! Managed vectors
1212
1313
use clone::Clone;
1414
use container::Container;

branches/try/src/libstd/bool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations on boolean values (`bool` type)
11+
//! The `bool` module contains useful code to help work with boolean values.
1212
//!
1313
//! A quick summary:
1414
//!

branches/try/src/libstd/char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Unicode characters manipulation (`char` type)
11+
//! Utilities for manipulating the char type
1212
1313
use cast::transmute;
1414
use option::{None, Option, Some};

branches/try/src/libstd/clone.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
/*! The `Clone` trait for types that cannot be 'implicitly copied'
11+
/*! The Clone trait for types that cannot be "implicitly copied"
1212
1313
In Rust, some simple types are "implicitly copyable" and when you
1414
assign them or pass them as arguments, the receiver will get a copy,

branches/try/src/libstd/comm/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Communication primitives for concurrent tasks (`Chan` and `Port` types)
11+
//! Rust Communication Primitives
1212
//!
1313
//! Rust makes it very difficult to share data among tasks to prevent race
1414
//! conditions and to improve parallelism, but there is often a need for
@@ -599,7 +599,7 @@ impl<T: Send> Chan<T> {
599599
// the TLS overhead can be a bit much.
600600
n => {
601601
assert!(n >= 0);
602-
if can_resched && n > 0 && n % RESCHED_FREQ == 0 {
602+
if n > 0 && n % RESCHED_FREQ == 0 {
603603
let task: ~Task = Local::take();
604604
task.maybe_yield();
605605
}

branches/try/src/libstd/container.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Traits for generic containers (including `Map` and `Set`)
11+
//! Container traits
1212
1313
use option::Option;
1414

branches/try/src/libstd/default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! The `Default` trait for types which may have meaningful default values
11+
//! The Default trait
1212
1313
/// A trait that types which have a useful default value should implement.
1414
pub trait Default {

branches/try/src/libstd/either.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Representing values with two possibilities (`Either` type)
11+
//! A type that represents one of two alternatives
1212
1313
#[allow(missing_doc)];
1414

branches/try/src/libstd/fmt/mod.rs

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

1111
/*!
1212
13-
Utilities for formatting and printing strings
13+
The Formatting Module
1414
1515
This module contains the runtime support for the `format!` syntax extension.
1616
This macro is implemented in the compiler to emit calls to this module in order

branches/try/src/libstd/from_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! The `FromStr` trait for types that can be created from strings
11+
//! The trait for types that can be created from strings
1212
1313
use option::Option;
1414

branches/try/src/libstd/hashmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Unordered containers, implemented as hash-tables (`HashSet` and `HashMap` types)
11+
//! An unordered map and set type implemented as hash tables
1212
//!
1313
//! The tables use a keyed hash with new random keys generated for each container, so the ordering
1414
//! of a set of keys in a hash table is randomized.

branches/try/src/libstd/kinds.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
/*!
12-
Primitive traits representing basic 'kinds' of types
12+
The kind traits
1313
1414
Rust types can be classified in various useful ways according to
1515
intrinsic properties of the type. These classifications, often called

branches/try/src/libstd/logging.rs

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

1111
/*!
1212
13-
Utilities for program-wide and customizable logging
13+
Logging
1414
1515
This module is used by the compiler when emitting output for the logging family
1616
of macros. The methods of this module shouldn't necessarily be used directly,

branches/try/src/libstd/num/cmath.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#[allow(non_uppercase_statics)];
1313
#[allow(dead_code)];
1414

15-
//! Bindings for the C math library (for basic mathematic functions)
16-
1715
// function names are almost identical to C's libmath, a few have been
1816
// renamed, grep for "rename:"
1917

branches/try/src/libstd/num/f32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for 32-bits floats (`f32` type)
11+
//! Operations and constants for `f32`
1212
#[allow(missing_doc)];
1313

1414
use prelude::*;

branches/try/src/libstd/num/f64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for 64-bits floats (`f64` type)
11+
//! Operations and constants for `f64`
1212
1313
#[allow(missing_doc)];
1414

branches/try/src/libstd/num/i16.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for signed 16-bits integers (`i16` type)
11+
//! Operations and constants for `i16`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/num/i32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for signed 32-bits integers (`i32` type)
11+
//! Operations and constants for `i32`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/num/i64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for signed 64-bits integers (`i64` type)
11+
//! Operations and constants for `i64`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/num/i8.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for signed 8-bits integers (`i8` type)
11+
//! Operations and constants for `i8`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/num/int.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for architecture-sized signed integers (`int` type)
11+
//! Operations and constants for `int`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/num/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Numeric traits and functions for generic mathematics
11+
//! Numeric traits and functions for generic mathematics.
1212
//!
1313
//! These are implemented for the primitive numeric types in `std::{u8, u16,
1414
//! u32, u64, uint, i8, i16, i32, i64, int, f32, f64, float}`.

branches/try/src/libstd/num/u16.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for unsigned 16-bits integers (`u16` type)
11+
//! Operations and constants for `u16`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/num/u32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for unsigned 32-bits integers (`u32` type)
11+
//! Operations and constants for `u32`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/num/u64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for unsigned 64-bits integer (`u64` type)
11+
//! Operations and constants for `u64`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/num/u8.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for unsigned 8-bits integers (`u8` type)
11+
//! Operations and constants for `u8`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/num/uint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Operations and constants for architecture-sized unsigned integers (`uint` type)
11+
//! Operations and constants for `uint`
1212
1313
#[allow(non_uppercase_statics)];
1414

branches/try/src/libstd/ops.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313

1414
/*!
1515
*
16-
* Traits representing built-in operators, useful for overloading
17-
*
18-
* Implementing these traits allows you to get an effect similar to
19-
* overloading operators.
16+
* Traits for the built-in operators. Implementing these traits allows you to get
17+
* an effect similar to overloading operators.
2018
*
2119
* The values for the right hand side of an operator are automatically
2220
* borrowed, so `a + b` is sugar for `a.add(&b)`.

branches/try/src/libstd/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Optionally nullable values (`Option` type)
11+
//! Operations on the ubiquitous `Option` type.
1212
//!
1313
//! Type `Option` represents an optional value.
1414
//!

branches/try/src/libstd/prelude.rs

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

1111
/*!
1212
13-
The standard module imported by default into all Rust modules
14-
1513
Many programming languages have a 'prelude': a particular subset of the
1614
libraries that come with the language. Every program imports the prelude by
1715
default.

branches/try/src/libstd/rand/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
/*!
12-
Utilities for random number generation
12+
Random number generation.
1313
1414
The key functions are `random()` and `Rng::gen()`. These are polymorphic
1515
and so can be used to generate any type that implements `Rand`. Type inference

0 commit comments

Comments
 (0)