@@ -35,7 +35,7 @@ pub enum Alignment {
35
35
#[ stable( feature = "debug_builders" , since = "1.2.0" ) ]
36
36
pub use self :: builders:: { DebugList , DebugMap , DebugSet , DebugStruct , DebugTuple } ;
37
37
38
- #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "0 " ) ]
38
+ #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none " ) ]
39
39
#[ doc( hidden) ]
40
40
pub mod rt {
41
41
pub mod v1;
@@ -259,7 +259,7 @@ struct Void {
259
259
/// types, and then this struct is used to canonicalize arguments to one type.
260
260
#[ derive( Copy , Clone ) ]
261
261
#[ allow( missing_debug_implementations) ]
262
- #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "0 " ) ]
262
+ #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none " ) ]
263
263
#[ doc( hidden) ]
264
264
pub struct ArgumentV1 < ' a > {
265
265
value : & ' a Void ,
@@ -273,13 +273,13 @@ impl<'a> ArgumentV1<'a> {
273
273
}
274
274
275
275
#[ doc( hidden) ]
276
- #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "0 " ) ]
276
+ #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none " ) ]
277
277
pub fn new < ' b , T > ( x : & ' b T , f : fn ( & T , & mut Formatter < ' _ > ) -> Result ) -> ArgumentV1 < ' b > {
278
278
unsafe { ArgumentV1 { formatter : mem:: transmute ( f) , value : mem:: transmute ( x) } }
279
279
}
280
280
281
281
#[ doc( hidden) ]
282
- #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "0 " ) ]
282
+ #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none " ) ]
283
283
pub fn from_usize ( x : & usize ) -> ArgumentV1 < ' _ > {
284
284
ArgumentV1 :: new ( x, ArgumentV1 :: show_usize)
285
285
}
@@ -309,7 +309,7 @@ impl<'a> Arguments<'a> {
309
309
/// Arguments structure.
310
310
#[ doc( hidden) ]
311
311
#[ inline]
312
- #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "0 " ) ]
312
+ #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none " ) ]
313
313
pub fn new_v1 ( pieces : & ' a [ & ' a str ] , args : & ' a [ ArgumentV1 < ' a > ] ) -> Arguments < ' a > {
314
314
Arguments { pieces, fmt : None , args }
315
315
}
@@ -322,7 +322,7 @@ impl<'a> Arguments<'a> {
322
322
/// unsafety, but will ignore invalid .
323
323
#[ doc( hidden) ]
324
324
#[ inline]
325
- #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "0 " ) ]
325
+ #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none " ) ]
326
326
pub fn new_v1_formatted (
327
327
pieces : & ' a [ & ' a str ] ,
328
328
args : & ' a [ ArgumentV1 < ' a > ] ,
@@ -337,7 +337,7 @@ impl<'a> Arguments<'a> {
337
337
/// when using `format!`. Note: this is neither the lower nor upper bound.
338
338
#[ doc( hidden) ]
339
339
#[ inline]
340
- #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "0 " ) ]
340
+ #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" , issue = "none " ) ]
341
341
pub fn estimated_capacity ( & self ) -> usize {
342
342
let pieces_length: usize = self . pieces . iter ( ) . map ( |x| x. len ( ) ) . sum ( ) ;
343
343
0 commit comments