refactor(service): change service_fn to take Fn instead of FnMut

This commit is contained in:
Sean McArthur
2018-05-02 13:46:33 -07:00
parent 190a8501d6
commit 283d79db08
2 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
//!
//! There are two levels of APIs provide for constructing HTTP servers:
//!
//! - The higher-level [`Server`](Server).
//! - The higher-level [`Server`](Server) type.
//! - The lower-level [conn](conn) module.
//!
//! # Server