From: Martin Pitt Date: Tue, 24 Aug 2021 04:53:24 +0000 (+0200) Subject: Return style fix X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=1d259ded66e8edc398867ac80b0c138abe707ea0;p=learn-rust.git Return style fix --- diff --git a/src/word_utils.rs b/src/word_utils.rs index 4da2eb0..e3e71bf 100644 --- a/src/word_utils.rs +++ b/src/word_utils.rs @@ -15,7 +15,7 @@ pub fn second_word(s: &str) -> Option<&str> { } } - return None; + None } #[cfg(test)]