From 59cd17d4b5b1eff2847a954012eb916db4ef5116 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 23 May 2021 13:51:20 +0000 Subject: docs(global): add new documentation --- crates/whirl_api/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/whirl_api/src/lib.rs') 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, address: &str, -- cgit v1.2.3