You've already forked authentication-service
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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user