From 16ff8f534e828f5fde679a1e03fba266136aa587 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sun, 25 Feb 2024 01:30:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0rustfmt=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6***?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ***更新了rustfmt配置文件,将最大行长(max_width)从120修改为100,链式调用的最大长度(chain_width)从100修改为70,数组的最大长度(array_width)从100修改为70,函数参数的最大长度(attr_fn_like_width)从100修改为60。 --- ica-rs/rustfmt.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ica-rs/rustfmt.toml b/ica-rs/rustfmt.toml index 5e13fba..070df82 100644 --- a/ica-rs/rustfmt.toml +++ b/ica-rs/rustfmt.toml @@ -1,13 +1,13 @@ # cargo fmt config # 最大行长 -max_width = 120 +max_width = 100 # 链式调用的最大长度 -chain_width = 100 +chain_width = 70 # 数组的最大长度 -array_width = 100 +array_width = 70 # 函数参数的最大长度 -attr_fn_like_width = 100 +attr_fn_like_width = 60 # 函数调用参数的最大长度 fn_call_width = 80 # 简单函数格式化为单行