From a315db77f5afac024ed5bdaae2630c2019bbcc54 Mon Sep 17 00:00:00 2001 From: Sandro Welte Date: Thu, 8 Feb 2024 20:37:13 +0100 Subject: [PATCH] refactoring: removed unnecessary comments --- src/convert_g_to_mg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/convert_g_to_mg.c b/src/convert_g_to_mg.c index a7c17ad..ceba263 100644 --- a/src/convert_g_to_mg.c +++ b/src/convert_g_to_mg.c @@ -2,5 +2,5 @@ #include "convert_g_to_mg.h" double g_to_mg(double grams) { - return grams * 1000.0; // 1 gram = 1000 milligrams + return grams * 1000.0; }