From e96933bc163fd81a276cbc169b17f76724a5ac33 Mon Sep 17 00:00:00 2001 From: Mathias Lafeldt Date: Sun, 21 Aug 2022 19:31:14 +0200 Subject: chore: use Rust 1.63.0 (#15464) --- test_util/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test_util/src') diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index 79c74aef8..d15538e54 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -1052,6 +1052,7 @@ impl hyper::server::accept::Accept for HyperAcceptor<'_> { } #[allow(clippy::non_send_fields_in_send_ty)] +// SAFETY: unsafe trait must have unsafe implementation unsafe impl std::marker::Send for HyperAcceptor<'_> {} async fn wrap_redirect_server() { @@ -1897,7 +1898,7 @@ impl<'a> CheckOutputIntegrationTest<'a> { // deno test's output capturing flushes with a zero-width space in order to // synchronize the output pipes. Occassionally this zero width space // might end up in the output so strip it from the output comparison here. - if args.get(0) == Some(&"test") { + if args.first() == Some(&"test") { actual = actual.replace('\u{200B}', ""); } -- cgit v1.2.3