File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed
branches/auto/src/libserialize Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
10
10
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
11
11
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
12
12
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13
- refs/heads/auto: 97f870a1fc24ecf3a432170c7040863d0399eb85
13
+ refs/heads/auto: eb2506cc1bcf2011d4e8ce99ff7cf74c2c1d1493
14
14
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
15
15
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
16
16
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
Original file line number Diff line number Diff line change @@ -1123,15 +1123,6 @@ impl Json {
1123
1123
}
1124
1124
}
1125
1125
1126
- // NOTE(stage0): remove impl after a snapshot
1127
- #[ cfg( stage0) ]
1128
- impl < ' a > ops:: Index < & ' a str , Json > for Json {
1129
- fn index ( & self , idx : & & str ) -> & Json {
1130
- self . find ( * idx) . unwrap ( )
1131
- }
1132
- }
1133
-
1134
- #[ cfg( not( stage0) ) ] // NOTE(stage0): remove cfg after a snapshot
1135
1126
impl < ' a > ops:: Index < & ' a str > for Json {
1136
1127
type Output = Json ;
1137
1128
@@ -1140,18 +1131,6 @@ impl<'a> ops::Index<&'a str> for Json {
1140
1131
}
1141
1132
}
1142
1133
1143
- // NOTE(stage0): remove impl after a snapshot
1144
- #[ cfg( stage0) ]
1145
- impl ops:: Index < uint , Json > for Json {
1146
- fn index < ' a > ( & ' a self , idx : & uint ) -> & ' a Json {
1147
- match self {
1148
- & Json :: Array ( ref v) => v. index ( idx) ,
1149
- _ => panic ! ( "can only index Json with uint if it is an array" )
1150
- }
1151
- }
1152
- }
1153
-
1154
- #[ cfg( not( stage0) ) ] // NOTE(stage0): remove cfg after a snapshot
1155
1134
impl ops:: Index < uint > for Json {
1156
1135
type Output = Json ;
1157
1136
You can’t perform that action at this time.
0 commit comments