aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_api/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-23 13:51:20 -0700
committerFuwn <[email protected]>2021-05-23 13:51:20 -0700
commitddce4052e84962b10ee18a3d395ba5f8edeb3fff (patch)
tree7c57e6aa0fd346e540d974e08a099180739afa40 /crates/whirl_api/src
parentbuild(cargo): create a fast builds configuration for cargo (diff)
downloadwhirl-ddce4052e84962b10ee18a3d395ba5f8edeb3fff.tar.xz
whirl-ddce4052e84962b10ee18a3d395ba5f8edeb3fff.zip
docs(global): add new documentation
Diffstat (limited to 'crates/whirl_api/src')
-rw-r--r--crates/whirl_api/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/whirl_api/src/lib.rs b/crates/whirl_api/src/lib.rs
index e77e7d3..0b24953 100644
--- a/crates/whirl_api/src/lib.rs
+++ b/crates/whirl_api/src/lib.rs
@@ -22,6 +22,7 @@ mod routes;
pub struct Api;
impl Api {
+ /// Begin handling connections on the web-server.
pub async fn listen(
tx: std::sync::mpsc::Sender<actix_web::dev::Server>,
address: &str,