commit 085a1430750e3c52c06ead2547ff29d473899c56
parent e34b2f370326c742b341b2b91f85a38d527c4981
Author: Richo Healey <richo@psych0tik.net>
Date: Wed, 10 Oct 2018 16:02:15 -0700
Update docstring for 'ConfigBuilder::keep_alive'.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/lib/src/config/builder.rs b/core/lib/src/config/builder.rs
@@ -14,7 +14,7 @@ pub struct ConfigBuilder {
pub port: u16,
/// The number of workers to run in parallel.
pub workers: u16,
- /// Keep-alive timeout in seconds or None if disabled.
+ /// Keep-alive timeout in seconds or disabled if 0.
pub keep_alive: u32,
/// How much information to log.
pub log_level: LoggingLevel,