Fix Clippy lints: needless_return
This commit is contained in:
parent
853154b239
commit
fac6ff44c9
|
@ -180,7 +180,7 @@ impl<'a> Iterator for StrftimeItems<'a> {
|
|||
|
||||
match self.remainder.chars().next() {
|
||||
// we are done
|
||||
None => return None,
|
||||
None => None,
|
||||
|
||||
// the next item is a specifier
|
||||
Some('%') => {
|
||||
|
|
Loading…
Reference in New Issue