From ebf6f68e24f9a5ecb80741d08c7b453c01a01010 Mon Sep 17 00:00:00 2001 From: Jiayi Zhuang Date: Fri, 18 Oct 2024 20:54:51 +0800 Subject: [PATCH] fix: code format error --- crates/rustc_codegen_c_ast/tests/decl.rs | 2 +- crates/rustc_codegen_c_ast/tests/expr.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/rustc_codegen_c_ast/tests/decl.rs b/crates/rustc_codegen_c_ast/tests/decl.rs index 7458595..5cc4fa4 100644 --- a/crates/rustc_codegen_c_ast/tests/decl.rs +++ b/crates/rustc_codegen_c_ast/tests/decl.rs @@ -16,4 +16,4 @@ fn test_decl_var() { let value = ctx.value(CValue::Scalar(42)); Box::new(ctx.var(name, ty, Some(value))) }); -} \ No newline at end of file +} diff --git a/crates/rustc_codegen_c_ast/tests/expr.rs b/crates/rustc_codegen_c_ast/tests/expr.rs index 7a18412..3744315 100644 --- a/crates/rustc_codegen_c_ast/tests/expr.rs +++ b/crates/rustc_codegen_c_ast/tests/expr.rs @@ -4,8 +4,8 @@ use blessed_test::*; use rustc_codegen_c_ast::expr::CValue; use rustc_type_ir::IntTy; -extern crate rustc_type_ir; extern crate rustc_driver; +extern crate rustc_type_ir; mod blessed_test; #[test]