mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-30 08:00:21 +00:00
remove the link in comment and unused error variant
This commit is contained in:
parent
82fc7acaa5
commit
c89a4b37dc
2 changed files with 2 additions and 5 deletions
|
@ -147,9 +147,9 @@ fn format_file(path: impl AsRef<Path>, indent: IndentOptions, do_rustfmt: bool)
|
|||
|
||||
/// Read every .rs file accessible when considering the .gitignore and try to format it
|
||||
///
|
||||
/// Runs using Tokio for multithreading, so it should be really really fast
|
||||
/// Runs using rayon for multithreading, so it should be really really fast
|
||||
///
|
||||
/// Doesnhttps://www.rustwiki.org.cn/zh-CN/std/'t do mod-descending, so it will still try to format unreachable files. TODO.
|
||||
/// Doesn't do mod-descending, so it will still try to format unreachable files. TODO.
|
||||
async fn autoformat_project(
|
||||
check: bool,
|
||||
split_line_attributes: bool,
|
||||
|
|
|
@ -46,9 +46,6 @@ pub enum Error {
|
|||
|
||||
#[error(transparent)]
|
||||
Other(#[from] anyhow::Error),
|
||||
|
||||
#[error("Child process exited with {0}")]
|
||||
ExitCodeNotZero(i32),
|
||||
}
|
||||
|
||||
impl From<&str> for Error {
|
||||
|
|
Loading…
Reference in a new issue