From 4fb4f8ad22be75511361f823fb6bc040c667c153 Mon Sep 17 00:00:00 2001 From: Manel Montilla Date: Sat, 18 Nov 2023 15:07:40 +0100 Subject: [PATCH] wruster: remove unneeded return statement --- wruster/src/streams/test_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wruster/src/streams/test_utils.rs b/wruster/src/streams/test_utils.rs index 355f3c0..95cec7e 100644 --- a/wruster/src/streams/test_utils.rs +++ b/wruster/src/streams/test_utils.rs @@ -75,5 +75,5 @@ pub fn test_file_size(name: &str) -> Result { file_path.push("tests/assets"); file_path.push(name); let metadata = fs::metadata(&file_path).unwrap(); - return Ok(metadata.len()); + Ok(metadata.len()) }