From cac66a8c184f3ef8510bb62b390f241c2760f51d Mon Sep 17 00:00:00 2001 From: Joseph Birr-Pixton Date: Mon, 8 Jun 2020 21:33:03 +0100 Subject: [PATCH] error description() is deprecated; avoid it --- rustls/tests/api.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rustls/tests/api.rs b/rustls/tests/api.rs index 8f006f37..f1629c91 100644 --- a/rustls/tests/api.rs +++ b/rustls/tests/api.rs @@ -1273,7 +1273,6 @@ fn stream_write_reports_underlying_io_error_before_plaintext_processed() { assert!(rc.is_err()); let err = rc.err().unwrap(); assert_eq!(err.kind(), io::ErrorKind::WouldBlock); - assert_eq!(err.description(), "oops"); } #[test]