From 38ced33fa1822788355e505357b7a0f61cdef00a Mon Sep 17 00:00:00 2001 From: zooeywm Date: Sun, 14 Jul 2024 02:40:39 +0800 Subject: [PATCH] feat: add `rust-toolchain.toml` --- rust-toolchain.toml | 2 ++ rustfmt.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 rust-toolchain.toml diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..5d56faf9 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" diff --git a/rustfmt.toml b/rustfmt.toml index 69622ca3..3ee5c71c 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -10,7 +10,7 @@ format_macro_bodies = true format_strings = false hard_tabs = true hex_literal_case = "Lower" -hide_parse_errors = true +show_parse_errors = false imports_indent = "Visual" imports_layout = "Horizontal" imports_granularity = "Crate"