Skip to content

Commit d4d0b76

Browse files
committed
---
yaml --- r: 152622 b: refs/heads/try2 c: 19260b0 h: refs/heads/master v: v3
1 parent 50b3669 commit d4d0b76

File tree

6 files changed

+297
-406
lines changed

6 files changed

+297
-406
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: af622a491a18c27764199608f927a408af2f317c
8+
refs/heads/try2: 19260b043b84dd44e2be26a66771ad621dbf1a59
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/liballoc/owned.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ use core::result::{Ok, Err, Result};
2525
///
2626
/// The following two examples are equivalent:
2727
///
28-
/// let foo = box(HEAP) Bar::new(...);
29-
/// let foo = box Bar::new(...);
28+
/// use std::owned::HEAP;
29+
///
30+
/// # struct Bar;
31+
/// # impl Bar { fn new(_a: int) { } }
32+
/// let foo = box(HEAP) Bar::new(2);
33+
/// let foo = box Bar::new(2);
3034
#[lang="exchange_heap"]
3135
pub static HEAP: () = ();
3236

branches/try2/src/libcore/failure.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
//! useful an upstream crate must define failure for libcore to use. The current
1616
//! interface for failure is:
1717
//!
18-
//! fn begin_unwind(fmt: &fmt::Arguments, file: &str, line: uint) -> !;
18+
//! ```ignore
19+
//! fn begin_unwind(fmt: &fmt::Arguments, file: &str, line: uint) -> !;
20+
//! ```
1921
//!
2022
//! This definition allows for failing with any general message, but it does not
2123
//! allow for failing with a `~Any` value. The reason for this is that libcore

0 commit comments

Comments
 (0)