diff options
| author | Steven Fackler <sfackler@gmail.com> | 2016-03-18 09:30:36 -0700 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2016-03-18 09:30:36 -0700 |
| commit | 797d520d2baa6a9264060b657c3aeeed8c709167 (patch) | |
| tree | 3463ad5a784ffb991be0bf82fd188687e3644572 /src/libstd | |
| parent | b3ade68f270969d5f3fc2c332ad8adef675110cc (diff) | |
| download | rust-797d520d2baa6a9264060b657c3aeeed8c709167.tar.gz rust-797d520d2baa6a9264060b657c3aeeed8c709167.zip | |
Fix tidy
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/panic.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs index ced77857188..20d29205445 100644 --- a/src/libstd/panic.rs +++ b/src/libstd/panic.rs @@ -216,14 +216,16 @@ impl<T> RefRecoverSafe for AssertRecoverSafe<T> {} impl<T> AssertRecoverSafe<T> { /// Creates a new `AssertRecoverSafe` wrapper around the provided type. #[unstable(feature = "recover", reason = "awaiting feedback", issue = "27719")] - #[rustc_deprecated(reason = "the type's field is now public, construct it directly", since = "1.9.0")] + #[rustc_deprecated(reason = "the type's field is now public, construct it directly", + since = "1.9.0")] pub fn new(t: T) -> AssertRecoverSafe<T> { AssertRecoverSafe(t) } /// Consumes the `AssertRecoverSafe`, returning the wrapped value. #[unstable(feature = "recover", reason = "awaiting feedback", issue = "27719")] - #[rustc_deprecated(reason = "the type's field is now public, access it directly", since = "1.9.0)] + #[rustc_deprecated(reason = "the type's field is now public, access it directly", + since = "1.9.0")] pub fn into_inner(self) -> T { self.0 } |
