commit acd139606f7c2289b2a2190c3f3442ea8cd2f533
parent ee65ab8e4c883c610adfec3aa494553f2d807705
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 21 Jun 2021 14:31:15 -0400
net::dial: moar docs
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/net/dial/registry.ha b/net/dial/registry.ha
@@ -1,6 +1,7 @@
use io;
use net;
+// A dialer is a function which implements dial for a specific protocol.
export type dialer = fn(addr: str, service: str) (*io::stream | net::error);
type protocol = struct {