summaryrefslogtreecommitdiff
path: root/utils/src/input/editor.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-19 15:45:47 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-19 15:45:47 +0800
commit021d92a48000e8e04548ef45bad64c753ad0d1b4 (patch)
tree4f35b0f8fc882576e6c722778acff43ccc749699 /utils/src/input/editor.rs
parentf5563c1c8aee3f1d9c0a7c4b5c6d72b6e58e95d4 (diff)
Add helpdoc module for environment variable handling
Diffstat (limited to 'utils/src/input/editor.rs')
-rw-r--r--utils/src/input/editor.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/utils/src/input/editor.rs b/utils/src/input/editor.rs
index 34377fd..aa3e1be 100644
--- a/utils/src/input/editor.rs
+++ b/utils/src/input/editor.rs
@@ -10,13 +10,7 @@ pub async fn input_with_editor(
cache_file: impl AsRef<std::path::Path>,
comment_char: impl AsRef<str>,
) -> Result<String, std::io::Error> {
- input_with_editor_cutsom(
- default_text,
- cache_file,
- comment_char,
- get_default_editor().await,
- )
- .await
+ input_with_editor_cutsom(default_text, cache_file, comment_char, get_default_editor()).await
}
pub async fn input_with_editor_cutsom(