@@ -176,23 +176,23 @@ fn unnamed_fields_return(
176
176
177
177
#[ doc = #doc_mut_ref ]
178
178
#[ inline]
179
- pub fn #function_name_mut_ref( & mut self ) -> Option <#returns_mut_ref> {
179
+ pub fn #function_name_mut_ref( & mut self ) -> :: core :: option :: Option <#returns_mut_ref> {
180
180
match self {
181
181
Self :: #variant_name( #matches) => {
182
- Some ( ( #matches) )
182
+ :: core :: option :: Option :: Some ( ( #matches) )
183
183
}
184
- _ => None
184
+ _ => :: core :: option :: Option :: None
185
185
}
186
186
}
187
187
188
188
#[ doc = #doc_ref ]
189
189
#[ inline]
190
- pub fn #function_name_ref( & self ) -> Option <#returns_ref> {
190
+ pub fn #function_name_ref( & self ) -> :: core :: option :: Option <#returns_ref> {
191
191
match self {
192
192
Self :: #variant_name( #matches) => {
193
- Some ( ( #matches) )
193
+ :: core :: option :: Option :: Some ( ( #matches) )
194
194
}
195
- _ => None
195
+ _ => :: core :: option :: Option :: None
196
196
}
197
197
}
198
198
@@ -201,9 +201,9 @@ fn unnamed_fields_return(
201
201
pub fn #function_name_val( self ) -> :: core:: result:: Result <#returns_val, Self > {
202
202
match self {
203
203
Self :: #variant_name( #matches) => {
204
- Ok ( ( #matches) )
204
+ :: core :: result :: Result :: Ok ( ( #matches) )
205
205
} ,
206
- _ => Err ( self )
206
+ _ => :: core :: result :: Result :: Err ( self )
207
207
}
208
208
}
209
209
)
@@ -267,23 +267,23 @@ fn named_fields_return(
267
267
268
268
#[ doc = #doc_mut_ref ]
269
269
#[ inline]
270
- pub fn #function_name_mut_ref( & mut self ) -> Option <#returns_mut_ref> {
270
+ pub fn #function_name_mut_ref( & mut self ) -> :: core :: option :: Option <#returns_mut_ref> {
271
271
match self {
272
272
Self :: #variant_name{ #matches } => {
273
- Some ( ( #matches) )
273
+ :: core :: option :: Option :: Some ( ( #matches) )
274
274
}
275
- _ => None
275
+ _ => :: core :: option :: Option :: None
276
276
}
277
277
}
278
278
279
279
#[ doc = #doc_ref ]
280
280
#[ inline]
281
- pub fn #function_name_ref( & self ) -> Option <#returns_ref> {
281
+ pub fn #function_name_ref( & self ) -> :: core :: option :: Option <#returns_ref> {
282
282
match self {
283
283
Self :: #variant_name{ #matches } => {
284
- Some ( ( #matches) )
284
+ :: core :: option :: Option :: Some ( ( #matches) )
285
285
}
286
- _ => None
286
+ _ => :: core :: option :: Option :: None
287
287
}
288
288
}
289
289
@@ -292,9 +292,9 @@ fn named_fields_return(
292
292
pub fn #function_name_val( self ) -> :: core:: result:: Result <#returns_val, Self > {
293
293
match self {
294
294
Self :: #variant_name{ #matches } => {
295
- Ok ( ( #matches) )
295
+ :: core :: result :: Result :: Ok ( ( #matches) )
296
296
}
297
- _ => Err ( self )
297
+ _ => :: core :: result :: Result :: Err ( self )
298
298
}
299
299
}
300
300
)
0 commit comments