diff --git a/docs/users_guide/exts/multiway_if.rst b/docs/users_guide/exts/multiway_if.rst
index 3d9fa58ef71ecb4dda58c572cb630f29c0129ed0..6e9297ff669e370b77175111e81bd779711bd0d4 100644
--- a/docs/users_guide/exts/multiway_if.rst
+++ b/docs/users_guide/exts/multiway_if.rst
@@ -57,5 +57,5 @@ Note that multi-way if supports guards other than boolean conditions: ::
       if | parseNumbers settings
          , Just (exponent, mantissa) <- decomposeNumber str
          , let (integralPart, fractionPart) = parse mantissa
-         , integralPart >= 0 = ...
-         | otherwise = ...
+         , integralPart >= 0 -> ...
+         | otherwise -> ...