@@ -93,8 +93,7 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> {
93
93
self
94
94
}
95
95
96
- /// Consumes the `DebugStruct`, finishing output and returning any error
97
- /// encountered.
96
+ /// Finishes output and returns any error encountered.
98
97
#[ unstable( feature = "debug_builders" , reason = "method was just created" ) ]
99
98
pub fn finish ( & mut self ) -> fmt:: Result {
100
99
if self . has_fields {
@@ -156,8 +155,7 @@ impl<'a, 'b: 'a> DebugTuple<'a, 'b> {
156
155
self
157
156
}
158
157
159
- /// Consumes the `DebugTuple`, finishing output and returning any error
160
- /// encountered.
158
+ /// Finishes output and returns any error encountered.
161
159
#[ unstable( feature = "debug_builders" , reason = "method was just created" ) ]
162
160
pub fn finish ( & mut self ) -> fmt:: Result {
163
161
if self . has_fields {
@@ -246,8 +244,7 @@ impl<'a, 'b: 'a> DebugSet<'a, 'b> {
246
244
self
247
245
}
248
246
249
- /// Consumes the `DebugSet`, finishing output and returning any error
250
- /// encountered.
247
+ /// Finishes output and returns any error encountered.
251
248
#[ unstable( feature = "debug_builders" , reason = "method was just created" ) ]
252
249
pub fn finish ( & mut self ) -> fmt:: Result {
253
250
self . inner . finish ( ) ;
@@ -292,8 +289,7 @@ impl<'a, 'b: 'a> DebugList<'a, 'b> {
292
289
self
293
290
}
294
291
295
- /// Consumes the `DebugSet`, finishing output and returning any error
296
- /// encountered.
292
+ /// Finishes output and returns any error encountered.
297
293
#[ unstable( feature = "debug_builders" , reason = "method was just created" ) ]
298
294
pub fn finish ( & mut self ) -> fmt:: Result {
299
295
self . inner . finish ( ) ;
@@ -349,8 +345,7 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
349
345
self
350
346
}
351
347
352
- /// Consumes the `DebugMap`, finishing output and returning any error
353
- /// encountered.
348
+ /// Finishes output and returns any error encountered.
354
349
#[ unstable( feature = "debug_builders" , reason = "method was just created" ) ]
355
350
pub fn finish ( & mut self ) -> fmt:: Result {
356
351
let prefix = if self . is_pretty ( ) && self . has_fields { "\n " } else { "" } ;
0 commit comments