@@ -152,7 +152,7 @@ pub fn cs_partial_cmp(cx: &mut ExtCtxt, span: Span,
152
152
let new = {
153
153
let other_f = match other_fs {
154
154
[ ref o_f] => o_f,
155
- _ => cx. span_bug ( span, "not exactly 2 arguments in `deriving (PartialOrd)`" ) ,
155
+ _ => cx. span_bug ( span, "not exactly 2 arguments in `derive (PartialOrd)`" ) ,
156
156
} ;
157
157
158
158
let args = vec ! [
@@ -176,7 +176,7 @@ pub fn cs_partial_cmp(cx: &mut ExtCtxt, span: Span,
176
176
equals_expr. clone ( ) ,
177
177
box |cx, span, ( self_args, tag_tuple) , _non_self_args| {
178
178
if self_args. len ( ) != 2 {
179
- cx. span_bug ( span, "not exactly 2 arguments in `deriving (PartialOrd)`" )
179
+ cx. span_bug ( span, "not exactly 2 arguments in `derive (PartialOrd)`" )
180
180
} else {
181
181
some_ordering_collapsed ( cx, span, PartialCmpOp , tag_tuple)
182
182
}
@@ -210,7 +210,7 @@ fn cs_op(less: bool, equal: bool, cx: &mut ExtCtxt,
210
210
*/
211
211
let other_f = match other_fs {
212
212
[ ref o_f] => o_f,
213
- _ => cx. span_bug ( span, "not exactly 2 arguments in `deriving (PartialOrd)`" )
213
+ _ => cx. span_bug ( span, "not exactly 2 arguments in `derive (PartialOrd)`" )
214
214
} ;
215
215
216
216
let cmp = cx. expr_binary ( span, op, self_f. clone ( ) , other_f. clone ( ) ) ;
@@ -224,7 +224,7 @@ fn cs_op(less: bool, equal: bool, cx: &mut ExtCtxt,
224
224
cx. expr_bool ( span, equal) ,
225
225
box |cx, span, ( self_args, tag_tuple) , _non_self_args| {
226
226
if self_args. len ( ) != 2 {
227
- cx. span_bug ( span, "not exactly 2 arguments in `deriving (PartialOrd)`" )
227
+ cx. span_bug ( span, "not exactly 2 arguments in `derive (PartialOrd)`" )
228
228
} else {
229
229
let op = match ( less, equal) {
230
230
( true , true ) => LeOp , ( true , false ) => LtOp ,
0 commit comments