Skip to content

Commit 99b9645

Browse files
committed
fix clippy failure
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
1 parent b8fc5ba commit 99b9645

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

crates/catalog/rest/src/auth/oauth2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ mod tests {
301301
"super-secret",
302302
"https://auth.example.com/token",
303303
);
304-
let debug_str = format!("{:?}", auth);
304+
let debug_str = format!("{auth:?}");
305305
assert!(!debug_str.contains("super-secret"));
306306
}
307307

crates/catalog/rest/src/client.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18+
use std::collections::HashMap;
1819
use std::fmt::{Debug, Formatter};
1920
use std::sync::Arc;
2021

0 commit comments

Comments
 (0)