Skip to content

Commit b0f9c15

Browse files
committed
---
yaml --- r: 22173 b: refs/heads/snap-stage3 c: eba5eea h: refs/heads/master i: 22171: 6c07931 v: v3
1 parent b576e46 commit b0f9c15

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
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: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: ed42f26a48bcb43fb02b3f628edf1401b8df1bc2
4+
refs/heads/snap-stage3: eba5eeaef843d9f2a8b84926ba12dfa84d6d3541
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use option::{Some, None};
66
use dvec::DVec;
77
use core::cmp::{Eq};
88

9-
trait Deque<T> {
9+
pub trait Deque<T> {
1010
fn size() -> uint;
1111
fn add_front(+v: T);
1212
fn add_back(+v: T);
@@ -19,7 +19,7 @@ trait Deque<T> {
1919

2020
// FIXME (#2343) eventually, a proper datatype plus an exported impl would
2121
// be preferrable.
22-
fn create<T: Copy>() -> Deque<T> {
22+
pub fn create<T: Copy>() -> Deque<T> {
2323
type Cell<T> = Option<T>;
2424

2525
let initial_capacity: uint = 32u; // 2^5
@@ -119,7 +119,6 @@ fn create<T: Copy>() -> Deque<T> {
119119

120120
#[cfg(test)]
121121
mod tests {
122-
#[legacy_exports];
123122
#[test]
124123
fn test_simple() {
125124
let d: deque::Deque<int> = deque::create::<int>();

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ mod comm;
8181
// Collections
8282

8383
mod bitv;
84-
#[legacy_exports]
8584
mod deque;
8685
#[legacy_exports]
8786
mod fun_treemap;

0 commit comments

Comments
 (0)