From 1d259ded66e8edc398867ac80b0c138abe707ea0 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 24 Aug 2021 06:53:24 +0200 Subject: [PATCH] Return style fix --- src/word_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)] -- 2.39.5