Fix cargo fmt error?
This commit is contained in:
@ -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),
|
||||||
_ => {
|
_ => {
|
||||||
|
Reference in New Issue
Block a user