clippy: zero pedantic warnings across the tree
This commit is contained in:
parent
690cb5ab5b
commit
f9f1346eae
20 changed files with 71 additions and 61 deletions
|
|
@ -168,8 +168,11 @@ impl Approvals {
|
|||
|
||||
/// Mark pending -> approved (or fail if not pending). Returns the (now-updated)
|
||||
/// approval so the caller can run the action and pass the agent name.
|
||||
#[allow(clippy::type_complexity)]
|
||||
pub fn mark_approved(&self, id: i64) -> Result<Approval> {
|
||||
let conn = self.conn.lock().unwrap();
|
||||
// Row shape: (agent, kind, commit_ref, requested_at, status,
|
||||
// fetched_sha, description).
|
||||
let current: Option<(
|
||||
String,
|
||||
String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue