Skip to content

Commit

Permalink
chore: Make clippy happy (#1329)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Feb 12, 2023
1 parent d062e02 commit 4524d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binaries/oli/src/utils/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub fn parse_profile(name: &str) -> Result<Operator> {
fn parse_s3_uri(s3uri: &str) -> (&str, &str) {
// TODO: support ARN

let s = s3uri.splitn(2, "/").collect::<Vec<_>>();
let s = s3uri.splitn(2, '/').collect::<Vec<_>>();
debug_assert!(s.len() == 2);
return (s[0], s[1]);
(s[0], s[1])
}

1 comment on commit 4524d3e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for opendal ready!

✅ Preview
https://opendal-6xokpciak-databend.vercel.app

Built with commit 4524d3e.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.