소스 검색

fix formatting

Evan Almloff 1 년 전
부모
커밋
1acfd46b0b
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      packages/cli/src/server/fullstack/mod.rs

+ 1 - 5
packages/cli/src/server/fullstack/mod.rs

@@ -140,11 +140,7 @@ impl FullstackServerEnvGuard {
         Self {
         Self {
             old_rustflags: (!debug).then(|| {
             old_rustflags: (!debug).then(|| {
                 let old_rustflags = std::env::var("RUSTFLAGS").unwrap_or_default();
                 let old_rustflags = std::env::var("RUSTFLAGS").unwrap_or_default();
-                let debug_assertions = if release {
-                    ""
-                } else {
-                    " -C debug-assertions"
-                };
+                let debug_assertions = if release { "" } else { " -C debug-assertions" };
 
 
                 std::env::set_var(
                 std::env::set_var(
                     "RUSTFLAGS",
                     "RUSTFLAGS",