fix: clippy

This commit is contained in:
weisd
2025-07-01 09:41:55 +08:00
parent 37861d9af6
commit 3fd70de4a6
3 changed files with 5 additions and 7 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ const SIGN_V2_ALGORITHM: &str = "AWS";
fn encode_url2path(req: &request::Builder, _virtual_host: bool) -> String {
//path = serde_urlencoded::to_string(req.uri_ref().unwrap().path().unwrap()).unwrap();
let path = req.uri_ref().unwrap().path().to_string();
path
req.uri_ref().unwrap().path().to_string()
}
pub fn pre_sign_v2(