File tree Expand file tree Collapse file tree 4 files changed +318
-325
lines changed Expand file tree Collapse file tree 4 files changed +318
-325
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ pub struct Box<
239239/// This is the surface syntax for `box <expr>` expressions.
240240#[ rustc_intrinsic]
241241#[ 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 > ;
243243
244244impl < T > Box < T > {
245245 /// 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> {
306306/// `va_copy`.
307307#[ rustc_intrinsic]
308308#[ rustc_nounwind]
309- unsafe fn va_end ( _ap : & mut VaListImpl < ' _ > ) ;
309+ unsafe fn va_end ( ap : & mut VaListImpl < ' _ > ) ;
310310
311311/// Copies the current location of arglist `src` to the arglist `dst`.
312312#[ rustc_intrinsic]
313313#[ 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 > ) ;
315315
316316/// Loads an argument of type `T` from the `va_list` `ap` and increment the
317317/// argument `ap` points to.
318318#[ rustc_intrinsic]
319319#[ 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