Skip to content

Commit 797d520

Browse files
committed
Fix tidy
1 parent b3ade68 commit 797d520

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libstd/panic.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,14 +216,16 @@ impl<T> RefRecoverSafe for AssertRecoverSafe<T> {}
216216
impl<T> AssertRecoverSafe<T> {
217217
/// Creates a new `AssertRecoverSafe` wrapper around the provided type.
218218
#[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")]
220221
pub fn new(t: T) -> AssertRecoverSafe<T> {
221222
AssertRecoverSafe(t)
222223
}
223224

224225
/// Consumes the `AssertRecoverSafe`, returning the wrapped value.
225226
#[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")]
227229
pub fn into_inner(self) -> T {
228230
self.0
229231
}

0 commit comments

Comments
 (0)