Rust 2021 Macro Warning Cleanup (#3658)
* small warning cleanup * remove unused imports in tests
This commit is contained in:
+1
-1
@@ -139,7 +139,7 @@ macro_rules! right_path_element(
|
||||
match $req.uri().path().trim_end_matches('/').rsplit('/').next() {
|
||||
None => return response(StatusCode::BAD_REQUEST, "invalid url"),
|
||||
Some(el) => el,
|
||||
};
|
||||
}
|
||||
));
|
||||
|
||||
#[macro_export]
|
||||
|
||||
Reference in New Issue
Block a user