File tree 4 files changed +318
-325
lines changed
4 files changed +318
-325
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ pub struct Box<
239
239
/// This is the surface syntax for `box <expr>` expressions.
240
240
#[ rustc_intrinsic]
241
241
#[ unstable( feature = "liballoc_internals" , issue = "none" ) ]
242
- pub fn box_new < T > ( _x : T ) -> Box < T > ;
242
+ pub fn box_new < T > ( x : T ) -> Box < T > ;
243
243
244
244
impl < T > Box < T > {
245
245
/// Allocates memory on the heap and then places `x` into it.
Original file line number Diff line number Diff line change @@ -306,15 +306,15 @@ impl<'f> Drop for VaListImpl<'f> {
306
306
/// `va_copy`.
307
307
#[ rustc_intrinsic]
308
308
#[ rustc_nounwind]
309
- unsafe fn va_end ( _ap : & mut VaListImpl < ' _ > ) ;
309
+ unsafe fn va_end ( ap : & mut VaListImpl < ' _ > ) ;
310
310
311
311
/// Copies the current location of arglist `src` to the arglist `dst`.
312
312
#[ rustc_intrinsic]
313
313
#[ rustc_nounwind]
314
- unsafe fn va_copy < ' f > ( _dest : * mut VaListImpl < ' f > , _src : & VaListImpl < ' f > ) ;
314
+ unsafe fn va_copy < ' f > ( dest : * mut VaListImpl < ' f > , src : & VaListImpl < ' f > ) ;
315
315
316
316
/// Loads an argument of type `T` from the `va_list` `ap` and increment the
317
317
/// argument `ap` points to.
318
318
#[ rustc_intrinsic]
319
319
#[ rustc_nounwind]
320
- unsafe fn va_arg < T : sealed_trait:: VaArgSafe > ( _ap : & mut VaListImpl < ' _ > ) -> T ;
320
+ unsafe fn va_arg < T : sealed_trait:: VaArgSafe > ( ap : & mut VaListImpl < ' _ > ) -> T ;
You can’t perform that action at this time.
0 commit comments