fix warnings
This commit is contained in:
1 parent
90e3e7ab1a
commit
a97dfcb408
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ mod range;
|
||||
mod redirect;
|
||||
mod simple;
|
||||
|
||||
type RequestHandler = Fn(&Unit) -> Result<Stream, Error> + Send + 'static;
|
||||
type RequestHandler = dyn Fn(&Unit) -> Result<Stream, Error> + Send + 'static;
|
||||
|
||||
lazy_static! {
|
||||
pub(crate) static ref TEST_HANDLERS: Arc<Mutex<HashMap<String, Box<RequestHandler>>>> =
|
||||
|
||||
Reference in new issue
Block a user