Skip to content

Commit

Permalink
Fix the updated clippy error (#742)
Browse files Browse the repository at this point in the history
Signed-off-by: Ankit Saurabh <[email protected]>
  • Loading branch information
Ankit Saurabh authored Feb 9, 2024
1 parent d959640 commit 61a0133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mountpoint-s3/tests/fuse_tests/fork_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ fn get_mount_from_source_and_mountpoint(source: &str, mount_point: &str) -> Opti
let stdout_reader = BufReader::new(stdout);
let stdout_lines = stdout_reader.lines();

for line in stdout_lines.flatten() {
for line in stdout_lines.map_while(Result::ok) {
let str: Vec<&str> = line.split_whitespace().collect();
let source_rec = str[0];
let mount_point_rec = str[2];
Expand Down

0 comments on commit 61a0133

Please sign in to comment.