From c4187638a888f13d61ec1ce6a90840ed2f4777d3 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 27 Mar 2016 13:29:24 -0700 Subject: [PATCH] Update for nightly changes --- openssl/src/ssl/bio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl/src/ssl/bio.rs b/openssl/src/ssl/bio.rs index 8d295928..26c23d4c 100644 --- a/openssl/src/ssl/bio.rs +++ b/openssl/src/ssl/bio.rs @@ -72,7 +72,7 @@ unsafe fn state<'a, S: 'a>(bio: *mut BIO) -> &'a mut StreamState { #[cfg(feature = "nightly")] fn recover(f: F) -> Result> where F: FnOnce() -> T { - ::std::panic::recover(::std::panic::AssertRecoverSafe::new(f)) + ::std::panic::recover(::std::panic::AssertRecoverSafe(f)) } #[cfg(not(feature = "nightly"))]