1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-21 23:00:50 +03:00

ci: Update clippy to 1.66 and fix new warnings

This commit is contained in:
Quentin Gliech
2022-12-16 17:51:40 +01:00
parent 5b28c1e6ce
commit ca112d45e1
17 changed files with 25 additions and 25 deletions

View File

@@ -132,7 +132,7 @@ fn function_merge(params: &HashMap<String, Value>) -> Result<Value, tera::Error>
for (k, v) in params {
let v = v
.as_object()
.ok_or_else(|| tera::Error::msg(format!("Parameter {:?} should be an object", k)))?;
.ok_or_else(|| tera::Error::msg(format!("Parameter {k:?} should be an object")))?;
ret.extend(v.clone());
}