fix: Cargo clippy

This commit is contained in:
MystiPanda
2023-12-21 16:49:21 +08:00
parent 99851b297d
commit 82b8a474d7
4 changed files with 5 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ pub async fn put_configs(path: &str) -> Result<()> {
match response.status().as_u16() {
204 => Ok(()),
status @ _ => {
status => {
bail!("failed to put configs with status \"{status}\"")
}
}