Fix cargo fmt error?

This commit is contained in:
2021-05-21 22:26:37 +02:00
parent 80aaed0cae
commit f1244b4b56

View File

@ -60,7 +60,7 @@ fn request_handler(client: &mut super::HttpStream) {
["entity", entity] => { ["entity", entity] => {
res.status(501); res.status(501);
error = Some(Error::new(Kind::NotImplementedError, Class::ServerError)) error = Some(Error::new(Kind::NotImplementedError, Class::ServerError))
} },
[endpoint] => match req.method { [endpoint] => match req.method {
Method::POST => return endpoint_handler(client, &req, res, endpoint), Method::POST => return endpoint_handler(client, &req, res, endpoint),
_ => { _ => {