From 6a50cacf31593d7270e334eaa271f9ffbd7351d8 Mon Sep 17 00:00:00 2001 From: Robb Shecter Date: Tue, 19 Dec 2023 14:28:28 -0700 Subject: [PATCH] =?UTF-8?q?Update=20README.rst=E2=80=94cleaned=20up=20matc?= =?UTF-8?q?h=20example=20(#163)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.rst b/README.rst index e214992..33f739c 100644 --- a/README.rst +++ b/README.rst @@ -97,8 +97,7 @@ And if you're using python version ``3.10`` or later, you can use the elegant `` values = [(10, 0), (10, 5)] for a, b in values: - divide_result = divide(a, b) - match divide_result: + match divide(a, b): case Ok(value): print(f"{a} // {b} == {value}") case Err(e):