summaryrefslogtreecommitdiffstats
path: root/tests/surfaces.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-19 17:09:59 +0000
committeraur-build <aur-build@localhost>2026-11-19 17:09:59 +0000
commite757979f1a2afdbe7146066345bb9acd19d3b151 (patch)
tree30d5f5fbccd25ea7bf01c5202684af463b74e7d3 /tests/surfaces.rs
parent94c318f13264bb3c00a9f3057ba2e1aafb57c9e4 (diff)
downloadaur-build-e757979f1a2afdbe7146066345bb9acd19d3b151.tar.gz
aur-build-e757979f1a2afdbe7146066345bb9acd19d3b151.zip
comments: say why, not what
Every module-level `//!` header is gone, and the comments that remained either re-explained the line below them or had grown into paragraphs. Density went from one comment line per 6.7 lines of code to one per 10. 827 insertions against 2194 deletions across 86 files. What survived: the invariants (I1-I12), the design cross-references into DESIGN.md, and the notes recording a bug that was found and fixed — those are the comments that carry weight, because they answer a question the code cannot answer about itself. What did not: restating a function signature in prose, and narration of the statement underneath.
Diffstat (limited to 'tests/surfaces.rs')
-rw-r--r--tests/surfaces.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/surfaces.rs b/tests/surfaces.rs
index b13cc9d..1df9f40 100644
--- a/tests/surfaces.rs
+++ b/tests/surfaces.rs
@@ -1,8 +1,3 @@
-//! The §13 surfaces driven by live state, not fixtures of HTML: Attention must
-//! name outdated dependencies, downgrades and blocked builds; the package page
-//! must answer "what does this depend on and what depends on it"; and a manual
-//! rebuild must reuse the approved source identity without asking again (I6).
-
mod common;
use aur_build::db::{self, builds, model::*};