Skip to content

Commit bcff3e9

Browse files
committed
---
yaml --- r: 102558 b: refs/heads/auto c: 2ed980f h: refs/heads/master v: v3
1 parent bfef274 commit bcff3e9

File tree

15 files changed

+3
-567
lines changed

15 files changed

+3
-567
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: e0c1707560d02bb5805b33cb17e8abfc339eb16b
16+
refs/heads/auto: 2ed980fe253d0b7103ff0b16ce2aeecb03f09203
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/libextra/num/bigint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub mod BigDigit {
8080
/**
8181
A big unsigned integer type.
8282
83-
A `BigUint`-typed value `BigUint { data: @[a, b, c] }` represents a number
83+
A `BigUint`-typed value `BigUint { data: ~[a, b, c] }` represents a number
8484
`(a + b * BigDigit::base + c * BigDigit::base^2)`.
8585
*/
8686
#[deriving(Clone)]

branches/auto/src/libextra/serialize.rs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Core encoding and decoding interfaces.
1818
#[forbid(non_camel_case_types)];
1919

2020

21-
use std::at_vec;
2221
use std::hashmap::{HashMap, HashSet};
2322
use std::rc::Rc;
2423
use std::trie::{TrieMap, TrieSet};
@@ -444,26 +443,6 @@ impl<D:Decoder,T:Decodable<D>> Decodable<D> for ~[T] {
444443
}
445444
}
446445

447-
impl<S:Encoder,T:Encodable<S>> Encodable<S> for @[T] {
448-
fn encode(&self, s: &mut S) {
449-
s.emit_seq(self.len(), |s| {
450-
for (i, e) in self.iter().enumerate() {
451-
s.emit_seq_elt(i, |s| e.encode(s))
452-
}
453-
})
454-
}
455-
}
456-
457-
impl<D:Decoder,T:Decodable<D>> Decodable<D> for @[T] {
458-
fn decode(d: &mut D) -> @[T] {
459-
d.read_seq(|d, len| {
460-
at_vec::from_fn(len, |i| {
461-
d.read_seq_elt(i, |d| Decodable::decode(d))
462-
})
463-
})
464-
}
465-
}
466-
467446
impl<S:Encoder,T:Encodable<S>> Encodable<S> for Option<T> {
468447
fn encode(&self, s: &mut S) {
469448
s.emit_option(|s| {

0 commit comments

Comments
 (0)