From 8856648129492706b9ea9bb5b3d251ae524a69af Mon Sep 17 00:00:00 2001 From: francium Date: Mon, 4 Dec 2023 22:12:09 -0500 Subject: [PATCH] Fix typo in README syntax --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 0395ff3..c55db7e 100644 --- a/README.rst +++ b/README.rst @@ -361,10 +361,10 @@ generator-based, the final result must be the first line, not the last. for y in Ok(True) ) -Note that if you exclude the type annotation, ``final_result: Result[float, -int] = ...``, your type checker may be unable to infer the return type. To -avoid an errors or warnings from your type checker, you should add a type hint -when using the ``do`` function. +Note that if you exclude the type annotation, +``final_result: Result[float, int] = ...``, your type checker may be unable to +infer the return type. To avoid an errors or warnings from your type checker, +you should add a type hint when using the ``do`` function. This is similar to Rust's `m! macro `_: