File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -216,14 +216,16 @@ impl<T> RefRecoverSafe for AssertRecoverSafe<T> {}
216
216
impl < T > AssertRecoverSafe < T > {
217
217
/// Creates a new `AssertRecoverSafe` wrapper around the provided type.
218
218
#[ unstable( feature = "recover" , reason = "awaiting feedback" , issue = "27719" ) ]
219
- #[ rustc_deprecated( reason = "the type's field is now public, construct it directly" , since = "1.9.0" ) ]
219
+ #[ rustc_deprecated( reason = "the type's field is now public, construct it directly" ,
220
+ since = "1.9.0" ) ]
220
221
pub fn new ( t : T ) -> AssertRecoverSafe < T > {
221
222
AssertRecoverSafe ( t)
222
223
}
223
224
224
225
/// Consumes the `AssertRecoverSafe`, returning the wrapped value.
225
226
#[ unstable( feature = "recover" , reason = "awaiting feedback" , issue = "27719" ) ]
226
- #[ rustc_deprecated( reason = "the type's field is now public, access it directly" , since = "1.9.0)]
227
+ #[ rustc_deprecated( reason = "the type's field is now public, access it directly" ,
228
+ since = "1.9.0" ) ]
227
229
pub fn into_inner ( self ) -> T {
228
230
self . 0
229
231
}
You can’t perform that action at this time.
0 commit comments