File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 7abf55736c979d6bdc5b421b1b0d526835625919
2
+ refs/heads/master: 38595e66643c3dd47e6f6c8ca443a33398561f8f
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -23,17 +23,6 @@ struct cmplx {
23
23
im : f64
24
24
}
25
25
26
- #[ cfg( stage0) ]
27
- impl cmplx : ops:: Mul < cmplx , cmplx > {
28
- pure fn mul ( x : cmplx ) -> cmplx {
29
- cmplx {
30
- re : self . re * x. re - self . im * x. im ,
31
- im : self . re * x. im + self . im * x. re
32
- }
33
- }
34
- }
35
- #[ cfg( stage1) ]
36
- #[ cfg( stage2) ]
37
26
impl cmplx : ops:: Mul < cmplx , cmplx > {
38
27
pure fn mul ( x : & cmplx ) -> cmplx {
39
28
cmplx {
@@ -43,17 +32,6 @@ impl cmplx : ops::Mul<cmplx,cmplx> {
43
32
}
44
33
}
45
34
46
- #[ cfg( stage0) ]
47
- impl cmplx : ops:: Add < cmplx , cmplx > {
48
- pure fn add ( x : cmplx ) -> cmplx {
49
- cmplx {
50
- re : self . re + x. re ,
51
- im : self . im + x. im
52
- }
53
- }
54
- }
55
- #[ cfg( stage1) ]
56
- #[ cfg( stage2) ]
57
35
impl cmplx : ops:: Add < cmplx , cmplx > {
58
36
pure fn add ( x : & cmplx ) -> cmplx {
59
37
cmplx {
You can’t perform that action at this time.
0 commit comments