From 9066a58d0092df2d1bf2cf8d6871025250df20c8 Mon Sep 17 00:00:00 2001 From: cw Date: Fri, 25 Sep 2020 15:53:46 +0800 Subject: [PATCH] WIP: Fix return statement --- libconfig/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libconfig/src/lib.rs b/libconfig/src/lib.rs index 7866e94..8075bdc 100644 --- a/libconfig/src/lib.rs +++ b/libconfig/src/lib.rs @@ -273,7 +273,7 @@ impl Config { call_remove_config_txt = true; } } else { - Err(Error::NoConfig) + return Err(Error::NoConfig); } if call_remove_config_key_bin {