File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 4c6bf4872012c010f84dc7fa2cdfe87522533f89
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cbd1eefbd350797b783df119fed7956d7e1c74ad
5
- refs/heads/try: 43aba856b4a8d1b2068f1f5c5017934442d2aedd
5
+ refs/heads/try: f107718a9b09daeedb5c0a3ea9b4ecb044afff44
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -483,11 +483,6 @@ impl<T:Zero> Option<T> {
483
483
}
484
484
}
485
485
486
- impl < T > Zero for Option < T > {
487
- fn zero ( ) -> Option < T > { None }
488
- fn is_zero ( & self ) -> bool { self . is_none ( ) }
489
- }
490
-
491
486
/// An iterator that yields either one or zero elements
492
487
#[ deriving( Clone , DeepClone ) ]
493
488
pub struct OptionIterator < A > {
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ struct E { a: int, b: int }
24
24
25
25
#[ deriving( Zero ) ]
26
26
struct Lots {
27
- c : Option < util:: NonCopyable > ,
28
27
d : u8 ,
29
28
e : char ,
30
29
f : float ,
You can’t perform that action at this time.
0 commit comments