File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ struct Void {
247
247
/// family of functions. It contains a function to format the given value. At
248
248
/// compile time it is ensured that the function and the value have the correct
249
249
/// types, and then this struct is used to canonicalize arguments to one type.
250
- #[ derive( Copy ) ]
250
+ #[ derive( Copy , Clone ) ]
251
251
#[ allow( missing_debug_implementations) ]
252
252
#[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" ,
253
253
issue = "0" ) ]
@@ -257,14 +257,6 @@ pub struct ArgumentV1<'a> {
257
257
formatter : fn ( & Void , & mut Formatter ) -> Result ,
258
258
}
259
259
260
- #[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" ,
261
- issue = "0" ) ]
262
- impl Clone for ArgumentV1 < ' _ > {
263
- fn clone ( & self ) -> Self {
264
- * self
265
- }
266
- }
267
-
268
260
impl < ' a > ArgumentV1 < ' a > {
269
261
#[ inline( never) ]
270
262
fn show_usize ( x : & usize , f : & mut Formatter ) -> Result {
You can’t perform that action at this time.
0 commit comments