Skip to content

Commit ceb3342

Browse files
committed
---
yaml --- r: 138616 b: refs/heads/try2 c: 833ad60 h: refs/heads/master v: v3
1 parent f549390 commit ceb3342

File tree

246 files changed

+1201
-1508
lines changed

Some content is hidden

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

246 files changed

+1201
-1508
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: 1d34a55d880baa3d186e72d345c1d3ce99d88d2c
8+
refs/heads/try2: 833ad6018e0fcb4f1fda1ca54feb8256bad27513
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/doc/tutorial.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2304,10 +2304,11 @@ mod farm {
23042304
farmer: Human
23052305
}
23062306
2307+
// Note - visibility modifiers on impls currently have no effect
23072308
impl Farm {
23082309
priv fn feed_chickens(&self) { ... }
23092310
priv fn feed_cows(&self) { ... }
2310-
pub fn add_chicken(&self, c: Chicken) { ... }
2311+
fn add_chicken(&self, c: Chicken) { ... }
23112312
}
23122313
23132314
pub fn feed_animals(farm: &Farm) {

branches/try2/src/etc/gedit/readme.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.

branches/try2/src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang

Lines changed: 0 additions & 264 deletions
This file was deleted.

branches/try2/src/etc/gedit/share/mime/packages/rust.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

branches/try2/src/libcore/cell.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub pure fn empty_cell<T>() -> Cell<T> {
2828
Cell { value: None }
2929
}
3030

31-
pub impl<T> Cell<T> {
31+
impl<T> Cell<T> {
3232
/// Yields the value, failing if the cell is empty.
3333
fn take() -> T {
3434
if self.is_empty() {

branches/try2/src/libcore/comm.rs

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

11+
// Transitional -- needs snapshot
12+
#[allow(structural_records)];
13+
1114
use either::{Either, Left, Right};
1215
use kinds::Owned;
1316
use option;
@@ -17,8 +20,8 @@ use vec;
1720

1821
use pipes::{recv, try_recv, wait_many, peek, PacketHeader};
1922

20-
// FIXME #5160: Making this public exposes some plumbing from
21-
// pipes. Needs some refactoring
23+
// NOTE Making this public exposes some plumbing from pipes. Needs
24+
// some refactoring
2225
pub use pipes::Selectable;
2326

2427
/// A trait for things that can send multiple messages.
@@ -187,7 +190,7 @@ pub fn PortSet<T: Owned>() -> PortSet<T>{
187190
}
188191
}
189192
190-
pub impl<T: Owned> PortSet<T> {
193+
impl<T: Owned> PortSet<T> {
191194
192195
fn add(port: Port<T>) {
193196
self.ports.push(port)
@@ -320,12 +323,12 @@ pub fn oneshot<T: Owned>() -> (PortOne<T>, ChanOne<T>) {
320323
(port, chan)
321324
}
322325
323-
pub impl<T: Owned> PortOne<T> {
326+
impl<T: Owned> PortOne<T> {
324327
fn recv(self) -> T { recv_one(self) }
325328
fn try_recv(self) -> Option<T> { try_recv_one(self) }
326329
}
327330
328-
pub impl<T: Owned> ChanOne<T> {
331+
impl<T: Owned> ChanOne<T> {
329332
fn send(self, data: T) { send_one(self, data) }
330333
fn try_send(self, data: T) -> bool { try_send_one(self, data) }
331334
}

branches/try2/src/libcore/condition.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub struct Condition<T, U> {
2525
key: task::local_data::LocalDataKey<Handler<T, U>>
2626
}
2727

28-
pub impl<T, U> Condition<T, U> {
28+
impl<T, U> Condition<T, U> {
2929
fn trap(&self, h: &self/fn(T) -> U) -> Trap/&self<T, U> {
3030
unsafe {
3131
let p : *RustClosure = ::cast::transmute(&h);
@@ -69,7 +69,7 @@ struct Trap<T, U> {
6969
handler: @Handler<T, U>
7070
}
7171

72-
pub impl<T, U> Trap<T, U> {
72+
impl<T, U> Trap<T, U> {
7373
fn in<V>(&self, inner: &self/fn() -> V) -> V {
7474
unsafe {
7575
let _g = Guard { cond: self.cond };

0 commit comments

Comments
 (0)