diff --git a/binaries/oli/src/utils/location.rs b/binaries/oli/src/utils/location.rs index bed32d947467..959e73f79568 100644 --- a/binaries/oli/src/utils/location.rs +++ b/binaries/oli/src/utils/location.rs @@ -86,7 +86,7 @@ pub fn parse_profile(name: &str) -> Result { fn parse_s3_uri(s3uri: &str) -> (&str, &str) { // TODO: support ARN - let s = s3uri.splitn(2, "/").collect::>(); + let s = s3uri.splitn(2, '/').collect::>(); debug_assert!(s.len() == 2); - return (s[0], s[1]); + (s[0], s[1]) }