File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ struct Void {
247247/// family of functions. It contains a function to format the given value. At
248248/// compile time it is ensured that the function and the value have the correct
249249/// types, and then this struct is used to canonicalize arguments to one type.
250- #[ derive( Copy ) ]
250+ #[ derive( Copy , Clone ) ]
251251#[ allow( missing_debug_implementations) ]
252252#[ unstable( feature = "fmt_internals" , reason = "internal to format_args!" ,
253253 issue = "0" ) ]
@@ -257,14 +257,6 @@ pub struct ArgumentV1<'a> {
257257 formatter : fn ( & Void , & mut Formatter ) -> Result ,
258258}
259259
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-
268260impl < ' a > ArgumentV1 < ' a > {
269261 #[ inline( never) ]
270262 fn show_usize ( x : & usize , f : & mut Formatter ) -> Result {
You can’t perform that action at this time.
0 commit comments