@@ -296,7 +296,7 @@ submit! {
296
296
} ] ,
297
297
r#return: || f64 :: type_output( ) ,
298
298
module: None ,
299
- doc: "Increments float or integer by 1" ,
299
+ doc: "Increments float by 1" ,
300
300
}
301
301
}
302
302
@@ -310,7 +310,7 @@ submit! {
310
310
} ] ,
311
311
r#return: || i64 :: type_output( ) ,
312
312
module: None ,
313
- doc: "" ,
313
+ doc: "Increments integer by 1 " ,
314
314
}
315
315
}
316
316
@@ -327,6 +327,7 @@ impl Incrementer {
327
327
Incrementer { }
328
328
}
329
329
330
+ /// This is the original doc comment
330
331
fn increment_1 ( & self , x : f64 ) -> f64 {
331
332
x + 1.0
332
333
}
@@ -350,7 +351,7 @@ submit! {
350
351
] ,
351
352
r#type: MethodType :: Instance ,
352
353
r#return: || i64 :: type_output( ) ,
353
- doc: "" ,
354
+ doc: "And this is for the second comment " ,
354
355
}
355
356
] ,
356
357
}
@@ -392,7 +393,7 @@ submit! {
392
393
] ,
393
394
r#type: MethodType :: Instance ,
394
395
r#return: || i64 :: type_output( ) ,
395
- doc: "" ,
396
+ doc: "increment_2 for integers, submitted by hands " ,
396
397
} ,
397
398
MethodInfo {
398
399
name: "__new__" ,
@@ -412,7 +413,7 @@ submit! {
412
413
] ,
413
414
r#type: MethodType :: Instance ,
414
415
r#return: || f64 :: type_output( ) ,
415
- doc: "" ,
416
+ doc: "increment_2 for floats, submitted by hands " ,
416
417
} ,
417
418
] ,
418
419
}
0 commit comments