Skip to content

Commit 46b04d1

Browse files
committed
---
yaml --- r: 32943 b: refs/heads/dist-snap c: eba5eea h: refs/heads/master i: 32941: d289b6c 32939: 5abbe9c 32935: 6bd74d5 32927: a0fea10 v: v3
1 parent 46649ed commit 46b04d1

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
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: ed42f26a48bcb43fb02b3f628edf1401b8df1bc2
10+
refs/heads/dist-snap: eba5eeaef843d9f2a8b84926ba12dfa84d6d3541
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/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/dist-snap/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)