From 6d6193a90023acc33f3269675c83d08b0862ca28 Mon Sep 17 00:00:00 2001 From: Fatolu Pelumi <67717231+Pelumi527@users.noreply.github.com> Date: Mon, 8 May 2023 09:55:57 +0100 Subject: [PATCH] No semicolon on line 230 Line 230 gives a compiler error because there was not semicolon --- language/documentation/book/src/abilities.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/documentation/book/src/abilities.md b/language/documentation/book/src/abilities.md index 2abe21b8e2..133bb58d29 100644 --- a/language/documentation/book/src/abilities.md +++ b/language/documentation/book/src/abilities.md @@ -227,8 +227,8 @@ fun valid(account: &signer) acquires MyResource { move_to(account, MyResource { f: 0 }) }; // Valid, 'MyResource' has 'key' - let r = borrow_global_mut>(addr) - r.f = r.f + 1; + let r = borrow_global_mut>(addr); + r.f = r.f + 1 } fun invalid(account: &signer) {