From 83774c28bfe300c73bfc54b535c0f5e893e069c2 Mon Sep 17 00:00:00 2001 From: Big-Aaron <37289216+Big-Aaron@users.noreply.github.com> Date: Tue, 17 Jan 2023 11:30:30 +0800 Subject: [PATCH] Update ir-breaking-changes.rst Fix errors in the doc --- docs/ir-breaking-changes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ir-breaking-changes.rst b/docs/ir-breaking-changes.rst index 7e4efce68..2d972baa7 100644 --- a/docs/ir-breaking-changes.rst +++ b/docs/ir-breaking-changes.rst @@ -122,8 +122,8 @@ hiding new and different behavior in existing code. modifier mod() { _; _; } } - If you execute ``f(0)`` in the old code generator, it will return ``2``, while - it will return ``1`` when using the new code generator. + If you execute ``f(0)`` in the old code generator, it will return ``1``, while + it will return ``0`` when using the new code generator. .. code-block:: solidity