From f1fe59dedad0f89b4063005641e86427b1c483de Mon Sep 17 00:00:00 2001 From: Vo Van Nghia Date: Wed, 18 Sep 2024 13:02:55 +0200 Subject: [PATCH] fix clippy warning --- nghe-api/src/lib.rs | 2 +- nghe-backend/src/lib.rs | 1 - nghe-backend/src/main.rs | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/nghe-api/src/lib.rs b/nghe-api/src/lib.rs index 737f88da1..891084a54 100644 --- a/nghe-api/src/lib.rs +++ b/nghe-api/src/lib.rs @@ -1,5 +1,5 @@ #![feature(adt_const_params)] -#![feature(const_option, const_mut_refs)] +#![feature(const_option)] pub mod auth; pub mod common; diff --git a/nghe-backend/src/lib.rs b/nghe-backend/src/lib.rs index 1ae562a77..5083aae80 100644 --- a/nghe-backend/src/lib.rs +++ b/nghe-backend/src/lib.rs @@ -1,6 +1,5 @@ #![feature(adt_const_params)] #![feature(anonymous_lifetime_in_impl_trait)] -#![feature(const_mut_refs)] #![feature(iterator_try_collect)] #![feature(let_chains)] #![feature(try_blocks)] diff --git a/nghe-backend/src/main.rs b/nghe-backend/src/main.rs index 44b42a475..e8969339c 100644 --- a/nghe-backend/src/main.rs +++ b/nghe-backend/src/main.rs @@ -1,5 +1,3 @@ -#![feature(const_mut_refs)] - use nghe_api::constant; use nghe_backend::{build, config, migration}; use tracing_subscriber::layer::SubscriberExt;