diff options
Diffstat (limited to 'src/review/reads.rs')
| -rw-r--r-- | src/review/reads.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/review/reads.rs b/src/review/reads.rs index 0f91f74..c82d90b 100644 --- a/src/review/reads.rs +++ b/src/review/reads.rs @@ -1,9 +1,5 @@ -//! Reading review's state without reaching into its tables. -//! -//! The pipeline needs two facts about a candidate: the row itself, and whether -//! a human approved it. It used to fetch them by calling through review's -//! re-exports of db's query functions, which meant the step machine knew the -//! shape of review's storage. These two calls are the whole of what it needs. +//! The two facts the pipeline needs about a candidate: the row, and whether a +//! human approved it. use crate::db::{self, approvals, model::CandidateRow, Db}; use crate::error::Result; |
