From 7f063a0c0ac7dc3afa495dcc6b28998837d6d4be Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Fri, 5 Jul 2024 13:58:23 +0200 Subject: [PATCH] docs: fix typos (#2512) docs: fix typos --------- Co-authored-by: Morgan Bazalgette --- LICENSE.md | 4 ++-- docs/concepts/effective-gno.md | 2 +- docs/concepts/stdlibs/gnopher-hole.md | 2 +- docs/how-to-guides/creating-grc20.md | 4 ++-- examples/gno.land/r/gnoland/pages/page_license.gno | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index b5d453a337e..be2cf7f5999 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -20,7 +20,7 @@ You should have received a copy of the GNO Network General Public License along with this program. If not, see . Attached below are the terms of the GNO Network General Public License, Version -4 (a fork of the GNU Afferro General Public License 3). +4 (a fork of the GNU Affero General Public License 3). ## Additional Terms @@ -409,7 +409,7 @@ that material) supplement the terms of this License with terms: - g) Requiring strong attribution such as notices on any user interfaces that run or convey any covered work, such as a prominent link to a URL on the header of a website, such that all users of the covered work may - become aware of the the notice, for a period no longer than 20 years. + become aware of the notice, for a period no longer than 20 years. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you diff --git a/docs/concepts/effective-gno.md b/docs/concepts/effective-gno.md index 8e589f41845..8f563b192dc 100644 --- a/docs/concepts/effective-gno.md +++ b/docs/concepts/effective-gno.md @@ -597,7 +597,7 @@ In this example, `GetPost` is a function that retrieves a post from the loading any other posts. In the future, we plan to add built-in "map" support that will match the -efficienty of an `avl.Tree` while offering a more intuitive API. Until then, if +efficiency of an `avl.Tree` while offering a more intuitive API. Until then, if you're dealing with a compact dataset, it's probably best to use slices. For larger datasets where you need to quickly retrieve elements by keys, `avl.Tree` is the way to go. diff --git a/docs/concepts/stdlibs/gnopher-hole.md b/docs/concepts/stdlibs/gnopher-hole.md index b9ce0c700af..c1e52cde8a3 100644 --- a/docs/concepts/stdlibs/gnopher-hole.md +++ b/docs/concepts/stdlibs/gnopher-hole.md @@ -6,7 +6,7 @@ id: gnopher-hole-stdlib ## Native bindings -Gno has support for "natively-defined" functions exclusively within the standard +Gno has support for "natively-defined" functions exclusively within the standard libraries. These are functions which are _declared_ in Gno code, but only _defined_ in Go. There are generally three reasons why a function should be natively defined: diff --git a/docs/how-to-guides/creating-grc20.md b/docs/how-to-guides/creating-grc20.md index 34e3fb59991..4c43f02b454 100644 --- a/docs/how-to-guides/creating-grc20.md +++ b/docs/how-to-guides/creating-grc20.md @@ -17,7 +17,7 @@ Our **GRC20** Realm will have the following functionality: ## 1. Importing token package For this realm, we import the `grc20` package, as this includes -the main functionality of our token realm. The package can be found the +the main functionality of our token realm. The package can be found at the `gno.land/p/demo/grc/grc20` path. [embedmd]:# (../assets/how-to-guides/creating-grc20/mytoken-1.gno go) @@ -55,7 +55,7 @@ The code snippet above does the following: pointer to the GRC20 token type, `grc20.AdminToken`, - Defines and sets the value of `admin` with a type of `std.Address` to contain the address of the deployer -- Initializes `mytoken` as a new GRC20 token, and set its name, symbol, and +- Initializes `mytoken` as a new GRC20 token, and sets its name, symbol, and decimal values, - Mint 1 million units of `My Token` and assign them to the admin's address. diff --git a/examples/gno.land/r/gnoland/pages/page_license.gno b/examples/gno.land/r/gnoland/pages/page_license.gno index 6c477fb27e6..77bdd8cdaab 100644 --- a/examples/gno.land/r/gnoland/pages/page_license.gno +++ b/examples/gno.land/r/gnoland/pages/page_license.gno @@ -20,7 +20,7 @@ You should have received a copy of the GNO Network General Public License along with this program. If not, see . Attached below are the terms of the GNO Network General Public License, Version -4 (a fork of the GNU Afferro General Public License 3). +4 (a fork of the GNU Affero General Public License 3). ## Additional Terms @@ -409,7 +409,7 @@ that material) supplement the terms of this License with terms: - g) Requiring strong attribution such as notices on any user interfaces that run or convey any covered work, such as a prominent link to a URL on the header of a website, such that all users of the covered work may - become aware of the the notice, for a period no longer than 20 years. + become aware of the notice, for a period no longer than 20 years. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you