summaryrefslogtreecommitdiffstats
path: root/src/http/mod.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-23 13:44:20 +0000
committeraur-build <aur-build@localhost>2026-11-23 13:44:20 +0000
commit4c143e969dcd7b6a18e5a86f9a754c9b62979ccf (patch)
treec61c2274e3810669cef8319cf9980cbbe031f840 /src/http/mod.rs
parent053dfbca8a4955a616e9b2c0f5a5d664c0db7aef (diff)
downloadaur-build-4c143e969dcd7b6a18e5a86f9a754c9b62979ccf.tar.gz
aur-build-4c143e969dcd7b6a18e5a86f9a754c9b62979ccf.zip
usecase,http,pipeline,ops: keep the contract, drop the argument
A workflow's doc now says what it guarantees and stops defending its existence: `subscribe` resolves the repo row, `approve` queues what the approval buys, a per-item failure comes back as a value instead of a panic. The history of which front end used to open-code it is gone. The last census-war notes go with it — three places that explained why a name in a test string was not a caller.
Diffstat (limited to 'src/http/mod.rs')
-rw-r--r--src/http/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs
index 715b448..e3a2181 100644
--- a/src/http/mod.rs
+++ b/src/http/mod.rs
@@ -24,7 +24,6 @@ struct Req {
}
impl Req {
- /// Read by the route handlers, which are in this module; the word `form` in a test is a local parameter.
fn form(&self) -> &[(String, String)] {
&self.form_pairs
}
@@ -114,7 +113,7 @@ mod server {
}
}
-/// the handle to a running HTTP listener. `spawn` returns it and `main` holds it without naming the type; the test harness stores it in a field because it needs the bound address.
+/// The handle to a running HTTP listener.
#[cfg(feature = "test-support")]
pub use server::Server;