From aec81b396107948afe2c13b591ee70e941657dc5 Mon Sep 17 00:00:00 2001 From: rhysd Date: Tue, 27 May 2025 17:04:23 +0900 Subject: [PATCH] Remove unnecessary `let_chain` feature gate because `let_chain` feature was stabilized on April and is available without the feature gate in Rust 2024 now. https://github.com/rust-lang/rust/pull/132833 --- src/bin/edit/main.rs | 8 +------- src/lib.rs | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/bin/edit/main.rs b/src/bin/edit/main.rs index f3820e2ace9b..6498844ee7f9 100644 --- a/src/bin/edit/main.rs +++ b/src/bin/edit/main.rs @@ -1,13 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -#![feature( - allocator_api, - let_chains, - linked_list_cursors, - os_string_truncate, - string_from_utf8_lossy_owned -)] +#![feature(allocator_api, linked_list_cursors, os_string_truncate, string_from_utf8_lossy_owned)] mod documents; mod draw_editor; diff --git a/src/lib.rs b/src/lib.rs index e0e5aeba58a7..2b367c7f9933 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,7 +5,6 @@ allocator_api, breakpoint, cold_path, - let_chains, linked_list_cursors, maybe_uninit_fill, maybe_uninit_slice,