Skip to content

Commit fe54f39

Browse files
committed
remove redundant return statement
1 parent ad4450d commit fe54f39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,8 @@ fn fill_todo(todo: &mut Vec<Result<(PathBuf, usize), GlobError>>,
796796
_ => return None,
797797
}
798798
}
799-
return Some(s);
799+
800+
Some(s)
800801
}
801802

802803
let add = |todo: &mut Vec<_>, next_path: PathBuf| {

0 commit comments

Comments
 (0)