Fix typos

Found via `codespell -L crate,nam,hart,succeded`.
This commit is contained in:
Kian-Meng Ang
2022-09-20 22:39:35 +08:00
parent f4b81fa0a1
commit 740926e747
11 changed files with 21 additions and 21 deletions

View File

@ -145,7 +145,7 @@ pub fn error_code_from_str(s: &str) -> anyhow::Result<Code> {
"unsupported_media_type" => Code::UnsupportedMediaType,
"dump_already_in_progress" => Code::DumpAlreadyInProgress,
"dump_process_failed" => Code::DumpProcessFailed,
_ => bail!("unknow error code."),
_ => bail!("unknown error code."),
};
Ok(code)