Skip to content

Commit ce55917

Browse files
committed
---
yaml --- r: 46615 b: refs/heads/auto c: b01d2ba h: refs/heads/master i: 46613: a62796a 46611: e4ab838 46607: 09ed209 v: v3
1 parent 1b80f4f commit ce55917

File tree

128 files changed

+220
-634
lines changed

Some content is hidden

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

128 files changed

+220
-634
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 0d30af1ebe4a803d86f47106c90ec0dc20a9d024
17+
refs/heads/auto: b01d2babaf29b2798fa624676a1c9fcbcbc1e30a

branches/auto/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/auto/src/etc/gedit/readme.txt

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

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

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

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

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

branches/auto/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/auto/src/libcore/comm.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pub fn PortSet<T: Owned>() -> PortSet<T>{
190190
}
191191
}
192192
193-
pub impl<T: Owned> PortSet<T> {
193+
impl<T: Owned> PortSet<T> {
194194
195195
fn add(port: Port<T>) {
196196
self.ports.push(port)
@@ -323,12 +323,12 @@ pub fn oneshot<T: Owned>() -> (PortOne<T>, ChanOne<T>) {
323323
(port, chan)
324324
}
325325
326-
pub impl<T: Owned> PortOne<T> {
326+
impl<T: Owned> PortOne<T> {
327327
fn recv(self) -> T { recv_one(self) }
328328
fn try_recv(self) -> Option<T> { try_recv_one(self) }
329329
}
330330
331-
pub impl<T: Owned> ChanOne<T> {
331+
impl<T: Owned> ChanOne<T> {
332332
fn send(self, data: T) { send_one(self, data) }
333333
fn try_send(self, data: T) -> bool { try_send_one(self, data) }
334334
}

branches/auto/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 };

branches/auto/src/libcore/dlist.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ priv impl<T> DListNode<T> {
6262
}
6363
}
6464
65-
pub impl<T> DListNode<T> {
65+
impl<T> DListNode<T> {
6666
/// Get the next node in the list, if there is one.
6767
pure fn next_link(@mut self) -> DListLink<T> {
6868
self.assert_links();
@@ -208,7 +208,7 @@ priv impl<T> DList<T> {
208208
}
209209
}
210210
211-
pub impl<T> DList<T> {
211+
impl<T> DList<T> {
212212
/// Get the size of the list. O(1).
213213
pure fn len(@mut self) -> uint { self.size }
214214
/// Returns true if the list is empty. O(1).
@@ -457,7 +457,7 @@ pub impl<T> DList<T> {
457457
}
458458
}
459459

460-
pub impl<T:Copy> DList<T> {
460+
impl<T:Copy> DList<T> {
461461
/// Remove data from the head of the list. O(1).
462462
fn pop(@mut self) -> Option<T> {
463463
self.pop_n().map(|nobe| nobe.data)

0 commit comments

Comments
 (0)