From 36370c5a5247403e9c80848321df1d8ebc56f74e Mon Sep 17 00:00:00 2001 From: Jan Knobloch <116908874+jk4e@users.noreply.github.com> Date: Mon, 19 Aug 2024 14:02:58 +0200 Subject: [PATCH] [miniscript/en] Fix typos (#5031) --- miniscript.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniscript.html.markdown b/miniscript.html.markdown index 8a2a4f87..21abc57c 100644 --- a/miniscript.html.markdown +++ b/miniscript.html.markdown @@ -133,7 +133,7 @@ print a[1:-1] // same as above, but using a negative index print a[1:] // get slice from 1 to the end ("ello") print a[:2] // get slice from beginning up to 2 ("He") -// Note that strings in MiniScript are immutable. You can't reache +// Note that strings in MiniScript are immutable. You can't reach // into a string and change what characters it contains (but you can // always create a new string with different characters). ``` @@ -250,7 +250,7 @@ print roll(2,20) // roll two 20-sided dice // (parameter values) to the function, and (2) you're using the // result as part of some larger statement. Notice how the first // example above, rollDie did not need any parentheses because we -// weren't passing an arguments. Here's an example of a function +// weren't passing any arguments. Here's an example of a function // that, like the built-in print function, is used as a statement // by itself, and so does not need parentheses. doRoll = function(numberOfDice, sides=6)