From 10a56c19d91c406da9ecedc1d882704f9c2cbb4d Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Sun, 26 Feb 2023 00:46:25 +0100 Subject: [PATCH] add .rustfmt.toml --- .rustfmt.toml | 1 + src/editor.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .rustfmt.toml diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..218e203 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1 @@ +hard_tabs = true diff --git a/src/editor.rs b/src/editor.rs index f180181..0b46b54 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -21,7 +21,6 @@ struct Cursor { column: usize, } -// #[derive(Clone, Copy)] type Line = Range; impl Editor {