@@ -72,7 +72,7 @@ pub fn debug_struct_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>, name: &str)
72
72
73
73
impl < ' a , ' b : ' a > DebugStruct < ' a , ' b > {
74
74
/// Adds a new field to the generated struct output.
75
- #[ unstable( feature = "core " , reason = "method was just created" ) ]
75
+ #[ unstable( feature = "debug_builders " , reason = "method was just created" ) ]
76
76
pub fn field ( mut self , name : & str , value : & fmt:: Debug ) -> DebugStruct < ' a , ' b > {
77
77
self . result = self . result . and_then ( |_| {
78
78
let prefix = if self . has_fields {
@@ -95,7 +95,7 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> {
95
95
96
96
/// Consumes the `DebugStruct`, finishing output and returning any error
97
97
/// encountered.
98
- #[ unstable( feature = "core " , reason = "method was just created" ) ]
98
+ #[ unstable( feature = "debug_builders " , reason = "method was just created" ) ]
99
99
pub fn finish ( mut self ) -> fmt:: Result {
100
100
if self . has_fields {
101
101
self . result = self . result . and_then ( |_| {
@@ -135,7 +135,7 @@ pub fn debug_tuple_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>, name: &str) -> D
135
135
136
136
impl < ' a , ' b : ' a > DebugTuple < ' a , ' b > {
137
137
/// Adds a new field to the generated tuple struct output.
138
- #[ unstable( feature = "core " , reason = "method was just created" ) ]
138
+ #[ unstable( feature = "debug_builders " , reason = "method was just created" ) ]
139
139
pub fn field ( mut self , value : & fmt:: Debug ) -> DebugTuple < ' a , ' b > {
140
140
self . result = self . result . and_then ( |_| {
141
141
let ( prefix, space) = if self . has_fields {
@@ -158,7 +158,7 @@ impl<'a, 'b: 'a> DebugTuple<'a, 'b> {
158
158
159
159
/// Consumes the `DebugTuple`, finishing output and returning any error
160
160
/// encountered.
161
- #[ unstable( feature = "core " , reason = "method was just created" ) ]
161
+ #[ unstable( feature = "debug_builders " , reason = "method was just created" ) ]
162
162
pub fn finish ( mut self ) -> fmt:: Result {
163
163
if self . has_fields {
164
164
self . result = self . result . and_then ( |_| {
@@ -198,7 +198,7 @@ pub fn debug_set_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>, name: &str) -> Deb
198
198
199
199
impl < ' a , ' b : ' a > DebugSet < ' a , ' b > {
200
200
/// Adds a new entry to the set output.
201
- #[ unstable( feature = "core " , reason = "method was just created" ) ]
201
+ #[ unstable( feature = "debug_builders " , reason = "method was just created" ) ]
202
202
pub fn entry ( mut self , entry : & fmt:: Debug ) -> DebugSet < ' a , ' b > {
203
203
self . result = self . result . and_then ( |_| {
204
204
let prefix = if self . has_fields {
@@ -221,8 +221,8 @@ impl<'a, 'b: 'a> DebugSet<'a, 'b> {
221
221
222
222
/// Consumes the `DebugSet`, finishing output and returning any error
223
223
/// encountered.
224
- #[ unstable( feature = "core " , reason = "method was just created" ) ]
225
- pub fn finish ( mut self ) -> fmt:: Result {
224
+ #[ unstable( feature = "debug_builders " , reason = "method was just created" ) ]
225
+ pub fn finish ( self ) -> fmt:: Result {
226
226
self . result . and_then ( |_| {
227
227
let end = match ( self . has_fields , self . is_pretty ( ) ) {
228
228
( false , _) => "}" ,
@@ -259,7 +259,7 @@ pub fn debug_map_new<'a, 'b>(fmt: &'a mut fmt::Formatter<'b>, name: &str) -> Deb
259
259
260
260
impl < ' a , ' b : ' a > DebugMap < ' a , ' b > {
261
261
/// Adds a new entry to the map output.
262
- #[ unstable( feature = "core " , reason = "method was just created" ) ]
262
+ #[ unstable( feature = "debug_builders " , reason = "method was just created" ) ]
263
263
pub fn entry ( mut self , key : & fmt:: Debug , value : & fmt:: Debug ) -> DebugMap < ' a , ' b > {
264
264
self . result = self . result . and_then ( |_| {
265
265
let prefix = if self . has_fields {
@@ -283,8 +283,8 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
283
283
284
284
/// Consumes the `DebugMap`, finishing output and returning any error
285
285
/// encountered.
286
- #[ unstable( feature = "core " , reason = "method was just created" ) ]
287
- pub fn finish ( mut self ) -> fmt:: Result {
286
+ #[ unstable( feature = "debug_builders " , reason = "method was just created" ) ]
287
+ pub fn finish ( self ) -> fmt:: Result {
288
288
self . result . and_then ( |_| {
289
289
let end = match ( self . has_fields , self . is_pretty ( ) ) {
290
290
( false , _) => "}" ,
0 commit comments