From 69ec715ece2c4de3a6a037fd1a34898bb1855d09 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 23 Dec 2019 14:37:14 +0100 Subject: Remove unnecessary return keyword Signed-off-by: Matthias Beyer --- bin/domain/imag-habit/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/domain/imag-habit/src/lib.rs b/bin/domain/imag-habit/src/lib.rs index e9ce9834..45893d32 100644 --- a/bin/domain/imag-habit/src/lib.rs +++ b/bin/domain/imag-habit/src/lib.rs @@ -365,7 +365,7 @@ fn today(rt: &Runtime, future: bool) -> Result<()> { .next_instance_date() .and_then(|date| { match date { - None => return Ok(false), + None => Ok(false), Some(d) => { let instance_exists = tpl.1.instance_exists_for_date(d)?; -- cgit v1.2.3