Fix cargo fmt error?
This commit is contained in:
@ -60,7 +60,7 @@ fn request_handler(client: &mut super::HttpStream) {
|
||||
["entity", entity] => {
|
||||
res.status(501);
|
||||
error = Some(Error::new(Kind::NotImplementedError, Class::ServerError))
|
||||
}
|
||||
},
|
||||
[endpoint] => match req.method {
|
||||
Method::POST => return endpoint_handler(client, &req, res, endpoint),
|
||||
_ => {
|
||||
|
Reference in New Issue
Block a user