From d2f752fd73bb00743f3ae490d770982834373940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Wed, 29 Jul 2020 09:40:49 -0700 Subject: [PATCH] must not -> does not need to --- docs/language.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/language.md b/docs/language.md index 2c8f5541d8..2da2b66aad 100644 --- a/docs/language.md +++ b/docs/language.md @@ -5590,7 +5590,7 @@ to all its stored objects. The type `T` must be a supertype of the type of the loaded object. If it is not, the function returns `nil`. - The given type must not necessarily be exactly the same as the type of the loaded object. + The given type does not necessarily need to be exactly the same as the type of the loaded object. The path must be a storage path, i.e., only the domain `storage` is allowed. @@ -5711,7 +5711,7 @@ This is possible using the `borrow` function of an `AuthAccount`: The type argument must be a reference to any type (`&Any`; `Any` is the supertype of all types). It must be possible to create the given reference type `T` for the stored / borrowed object. If it is not, the function returns `nil`. - The given type must not necessarily be exactly the same as the type of the borrowed object. + The given type does not necessarily need to be exactly the same as the type of the borrowed object. The path must be a storage path, i.e., only the domain `storage` is allowed.