Rust 2021 Macro Warning Cleanup (#3658)

* small warning cleanup

* remove unused imports in tests
This commit is contained in:
Yeastplume
2021-11-02 15:10:01 +00:00
committed by GitHub
parent 2e2149859f
commit 0170f03e4a
9 changed files with 4 additions and 10 deletions
+1 -1
View File
@@ -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]