style: rustfmt and one clippy lint over the P5 files
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HS8WZziDnyxunC23MUxrLp
This commit is contained in:
1 parent
7bac25496e
commit
632938fa97
11 files changed
+302
-108
No files matched your search
@@ -1552,11 +1552,9 @@ impl BooksServer {
|
||||
if let Some(id) = p.revises {
|
||||
// A source correction: the decision's words stay (the ones
|
||||
// given, if any, must be the ones it has).
|
||||
let old = store
|
||||
.ledger()
|
||||
.conventions()
|
||||
.decision(id)
|
||||
.ok_or_else(|| format!("decision {id} doesn't exist: books.decisions lists them"))?;
|
||||
let old = store.ledger().conventions().decision(id).ok_or_else(|| {
|
||||
format!("decision {id} doesn't exist: books.decisions lists them")
|
||||
})?;
|
||||
if (!p.subject.is_empty() && p.subject != old.new.subject)
|
||||
|| (!p.decision_md.is_empty() && p.decision_md != old.new.decision_md)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user